Selenium newb here. I've had a very simple python script to fill out a questionnaire working for about 3 weeks. I just noticed it was getting stuck on the 3rd question today, and when I cleared cache and rebooted, Selenium seemingly can't find any element I try using Full or short XPATH on that page any longer.
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element:
I spent some time trying to match up ChromeDriver and Chrome Browser versions assuming that it auto-updated. However, I tested the same previously working script on a different website and it's working fine. So not sure if this small version difference is really the problem
Driver = 94.0.4606.61 Chrome = 94.0.4606.81
I checked for iframes, but can't seem to locate one under source or inspect. Here is the web form:
https://form.typeform.com/to/eUIsSKGd
I've been using hard.coded sleep since the beginning and it was working fine. I even extended the sleeps to exaggerate them, but still can't get past the "Start Button".
Here's the first snippet of the script that was working. Yes, I tried grabbing a fresh new XPATH
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome()
driver.get('https://form.typeform.com/to/eUIsSKGd')
time.sleep(5)
#StartButton
startbutton = driver.find_element_by_xpath('/html/body/div[3]/main/div[1]/div[2]/div/section/div[2]/div[1]/div')
startbutton.click()
Please help