how to handle org.openqa.selenium.StaleElementReferenceException

Can anyone provide a solution for handling org.openqa.selenium.StaleElementReferenceException:

Default Asked on January 24, 2015 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)


    1. This exception occurs, when Web Driver not able to find the reference of an object.

    2. A try catch block throwing the StaleElementReferenceException can be used to solve the exception.

    Vishal S

    Doctor Answered on January 26, 2015.
    Add Comment
  • Your Answer

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