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

SauceLabs throwing StaleElementReference Error in Safari #128

Open
phillipskevin opened this issue Jul 3, 2018 · 3 comments · Fixed by #129
Open

SauceLabs throwing StaleElementReference Error in Safari #128

phillipskevin opened this issue Jul 3, 2018 · 3 comments · Fixed by #129

Comments

@phillipskevin
Copy link
Contributor

Sauce Labs is throwing this error:

Error checking test results: Error: [text([{"ELEMENT":"0"}])] Error response status: 10, , StaleElementReference - An element command failed because the referenced element is no longer attached to the DOM. Selenium error: Element is no longer attached to the DOM (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 8 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '2.48.0', revision: 'b7b081a', time: '2015-10-07 15:48:56'
System info: host: 'itako21022.prod.miso', ip: '10.100.35.164', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{browserName=safari, takesScreenshot=true, javascriptEnabled=true, version=10.0.1, cssSelectorsEnabled=true, platform=MAC, secureSsl=true}]
Session ID: null
@phillipskevin
Copy link
Contributor Author

This is still happening intermittantly.

@phillipskevin phillipskevin reopened this Jul 3, 2018
@phillipskevin
Copy link
Contributor Author

I started working on a fix for this in https://github.com/bitovi/test-saucelabs/tree/stale-element-retry, but I can't reproduce this error anymore. Will try this solution if this error comes up again.

@phillipskevin
Copy link
Contributor Author

phillipskevin commented Jul 23, 2018

This might have been fixed already by #134.

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

Successfully merging a pull request may close this issue.

1 participant