What are the different Exceptions in selenium?



What are the different Exceptions in selenium?..

Answer / 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

More Selenium Interview Questions

How to create batch(.bat) file after creating suite from TestNG?Can anyone explain entire process?

2 Answers   Cube Digi,


How to send alt/shift/control key in selenium webdriver?

1 Answers  


Explain me how to handle alerts in selenium webdriver?

1 Answers  


How to achieve database testing in selenium?

1 Answers  


How can we capture screenshots in selenium?

1 Answers  


How you can handle frames using selenium 2.0?

1 Answers  


List the different testing types supported by selenium.

1 Answers  


How do I upload a file using selenium? I need to upload a word file during test execution.

1 Answers  


What is pom (page object model)? What are its advantages?

1 Answers  


How to configure selenium web driver in eclipse?

1 Answers  


What is the difference between single and double slash in xpath?

1 Answers  


Explain the different exceptions in selenium webdriver.

1 Answers  


Categories