how to handle staleelementreferenceexception?



how to handle staleelementreferenceexception?..

Answer / Sadhana Dubey

A StaleElementReferenceException can be handled by re-finding the element (using `driver.findElement()` or `driver.findElements()`) after an action like refreshing, switching frames, or navigating to a new page.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

How to fetch the current page url in selenium?

1 Answers  


Explain the difference between close and quit command?

1 Answers  


What is an absolute xpath?

1 Answers  


What is the wait? How many types of waits in selenium?

1 Answers  


sorting java array

1 Answers   SunGard,


Explain xpath absolute and xpath attributes.

1 Answers  


What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium webdriver?

0 Answers  


Name an api used for logging in java?

1 Answers  


How will you find an element using selenium?

1 Answers  


How to download a file in selenium webdriver?

1 Answers  


Tell me what are the advantages of using git hub for selenium?

1 Answers  


Can you explain the framework which you have used in your selenium project?

1 Answers  


Categories