I made a post earlier about making the bot, and it works, thanks to Justin Ezequiel, but it stops randomly. Any fixes?
Python:
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
import time
x = 1
driver = webdriver.Chrome()
driver.get('https://hackertyper.net/')
while x == 1:
    actions = ActionChains(driver)
    actions.send_keys("I'm trying to make a bot to see how far I can get in hackertyper")
    actions.perform()
    time.sleep(0.1)
 
     
    