RE: No such element

I often get  “org.openqa.selenium.NoSuchElementException: no such element” when my script fails to find an element. I typically add only a few at a time and have output to help figure out where things went wrong but I was wondering why it doesn’t state what element can’t be found.

Thanks,
Richard

Add Comment
3 Answers

when you get no such element exception error . You can check the exception error java(24.89)
so the error is at line 24 of the code.  Now from this info you can find which element location

hope this will help you
thanks
anu

Doctor Answered on September 1, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.