cerberus-core icon indicating copy to clipboard operation
cerberus-core copied to clipboard

Handle "stale element reference: stale element not found” error

Open bcivel opened this issue 2 years ago • 0 comments

Hello,

Sometimes, this exception is raised when selenium interract with an element that is being updated : The test is cancelled due to lost connection to the Selenium Server! Detailed error: stale element reference: stale element not found”

Adding a wait before often solve the problem.

Maybe it's possible the track this exception and manage an automatic retry, to avoid the usage of manual wait ?

bcivel avatar Oct 11 '23 06:10 bcivel