Essentially I am trying to automate/autofill a google form by using selenium and inspect element to find the class name. I am especially having trouble finding the solution to an "IndexError" problem when I try to input text into a "short answer" section of the google form. I am a beginner in Python so sorry if this may come across as a very low-level issue.
from selenium import webdriver
option = webdriver.ChromeOptions()
option.add_argument("-incognito")
browser = webdriver.Chrome(executable_path="path to selenium")
option = webdriver.ChromeOptions()
option.add_argument("-incognito")
email = "my email address to sign into the google form"
browser = webdriver.Chrome(executable_path="path to selenium", options=option)
browser.get('url of google form')
sign_in = browser.find_elements_by_class_name("whsOnd zHQkBf")
sign_in[0].send_keys(email)
Next = browser.find_elements_by_class_name("VfPpkd-RLmnJb")
Next[0].click()
textboxes = browser.find_elements_by_class_name("quantumWizTextinputPaperinputInput exportInput")
textboxes[0].send_keys("name")
radio_buttons = browser.find_elements_by_class_name("freebirdFormviewerComponentsQuestionCheckboxRoot")
radio_buttons[1].click()
submit=browser.find_element_by_class_name("appsMaterialWizButtonPaperbuttonLabel quantumWizButtonPaperbuttonLabel exportLabel")
submit.click()