I want to select the checkbox using python script. following is checkbox details.
I have already tried below mentioned syntax but couldn't work:
driver.find_element_by_xpath("//input[@type='checkbox', @onclick=checkCheck(4)]").click()
driver.find_element_by_xpath("//onclick[contains(text(),'checkCheck(5);')]/following-sibling::checkbox").click()
Any one help me to get the right checkbox selection. Thanks in advance
Aucun commentaire:
Enregistrer un commentaire