Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bcivel opened this issue Oct 11, 2023 · 0 comments
Open

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

bcivel opened this issue Oct 11, 2023 · 0 comments

Comments

@bcivel
Copy link
Member

bcivel commented Oct 11, 2023

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants