The question on the survey asks: What days of the week are you consistently available? I would like to check Sunday.
I am duplicating the code I see from an online video, however, I am receiving this error. Some people are suggesting that a pop-up may be blocking the program from working correctly but I do not see a pop up.
I have tried using chromedriver and geckodriver. The error is present in both.
The code to see if Sunday is selected works properly:
status=driver.find_element_by_id("RESULT_CheckBox-8_0").is_selected()
print(status)
output:
False
Here is my code:
from selenium import webdriver
driver=webdriver.Chrome(executable_path="my_webdriver_path"\\chromedriver.exe
driver.get("https://fs2.formsite.com/meherpavan/form2/index.html?1537702596407")
What days of the week are you consistently available?
I would now like to check the Sunday box. Here is my code:
status=driver.find_element_by_id("RESULT_CheckBox-8_0").click()
print(status)
I would like the Sunday box checked but I am receiving this error:
selenium.common.exceptions.ElementClickInterceptedException: Message: Element <input id="RESULT_CheckBox-8_0" class="multiple_choice" name="RESULT_CheckBox-8" type="checkbox"> is not clickable at point (313,599) because another element <label> obscures it
I do not see another element that obscures the program. Does anyone have any suggestions? I am new to coding so any help would be greatly appreciated.