I’m running a script on vodafone.co.uk but I can’t any using the .

 browser.get("http://freesim.vodafone.co.uk/")
 browser.find_element_by_css_selector("#frmNew > div:nth-child(32) > div > div > div > div.freesim-text-last.last > button > span").click()

And this is what I get:

NoSuchElementException: Message: Unable to locate element

Doesn’t metter what CSS I use, doesn’t find any element anyways.
Thank you.



Source link https://sqa.stackexchange.com/questions/34282/cant-find-any-element-using-css-selector-with-selenium-on-

LEAVE A REPLY

Please enter your comment!
Please enter your name here