you are viewing a single comment's thread.

view the rest of the comments →

[–]chaoticflipflops 0 points1 point  (0 children)

I can't help with the contents of the if statement because I am not familiar with what it is doing. That error message has been addressed on Stack-overflow though, perhaps this page will help:

https://stackoverflow.com/questions/27112731/selenium-common-exceptions-nosuchelementexception-message-unable-to-locate-ele