New to python here. I am trying to have my script click a checkbox with a given input value. Unfortunately there is no input ID. Using find_element returns with error:
Unable to locate element
Using find_elements()
returns a list and therefore I get the error:
'list' object has no attribute 'click'
This is the code I have had trouble with.
OldJob = driver.find_elements_by_xpath("//input[@value='0 ']")
OldJob.click()
Here is the html:
Any thoughts on how I can get around this?