How to Handle Stale element reference exception in selenium webdriver

preview_player
Показать описание
We will learn how to fix Stale Element reference Exception in Selenium WebDriver with Java.

we will see a simple way to handle this exception. Most importantly we will see when this exception occurs.

It is one of the most tricky to understand and easy to fix and it makes it a popular interview question.
Рекомендации по теме
Комментарии
Автор

Thanks buddy ...I was looking for this way of solution...actually it clear my other confussion ..God bless u

rahulsingh-jgwt
Автор

I understand the workaround for the stale exception. But In mycase, we are using page objects so xpaths are assigned to a variable and we will be using that variable in multiple test cases.

do you have any suggestion to me to handle this exception?

chennakesav