adspace


What are the different Exceptions in selenium?

Answer Posted / Bobindra

Selenium WebDriver can throw various exceptions, such as NoSuchElementException (when an element is not found), TimeoutException (when a wait times out), StaleElementReferenceException (when an element has become stale and cannot be interacted with anymore), ElementNotVisibleException (when an element is present on the page but is not visible), and WebDriverException (a generic exception thrown for any other unexpected error).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you created any framework?

1039


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

1197


What’s selenese?

920


what will be the first salary and what will be the hike in the salary?

929


Do you know how to locate a link using its text in selenium?

986