HTML PictureI want to find this “play” elements ID and then click on it but I am unable to find the element. How would I click on this element using selenium if I cant find the ID?
I’ve tried using its XPath and that didn’t work either.
Haker Modz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
play_button = wait.until( EC.visibility_of_element_located((By.XPATH, “(//button[normalize-space()=’Play’])[1]”)))
play_button.click()
I didn’t use the index XPATH the first time. This should work now
Haker Modz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.