dimanche 19 mai 2019

error: Message: element click intercepted:

I have a code, my problem - error, when I starting code. What's wrong ?

from selenium import webdriver

driver = webdriver.Chrome('D:\webdriver firefox\chromedriver.exe')

driver.get('https://fs2.formsite.com/meherpavan/form2/index.html?1537702596407')

Working with radio button

status = driver.find_element_by_id('RESULT_RadioButton-8_0').is_selected() print(status)

driver.find_element_by_id('RESULT_RadioButton-8_0').click()

status = driver.find_element_by_id('RESULT_RadioButton-8_0').is_selected() print(status)

Aucun commentaire:

Enregistrer un commentaire