canjs / can-reflect

Operate on unknown data types
https://canjs.com/doc/can-reflect.html
MIT License
4 stars 4 forks source link

SauceLabs throwing StaleElementReference Error in Safari #128

Open phillipskevin opened 6 years ago

phillipskevin commented 6 years ago

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 commented 6 years ago

This is still happening intermittantly.

phillipskevin commented 6 years ago

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 commented 6 years ago

This might have been fixed already by https://github.com/canjs/can-reflect/pull/134.