adspace


how to handle staleelementreferenceexception?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

985


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

1197


What’s selenese?

920


Have you created any framework?

1038


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

929