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

stale element reference: element is not attached to the page document #229

Closed
innate01 opened this issue Jan 13, 2016 · 1 comment
Closed

Comments

@innate01
Copy link

Occasionally I get the stale element reference error. It is random the script works 5 out of 6 times.

Partial call stack below.

Error:
stale element reference: element is not attached to the page document
(Session info: chrome=47.0.2526.106)
(Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 6.1 SP1 x86_64)
Url: http://www.reddit.com/Search/
Stack:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebElement.get_Text()
at canopyExtensions.read[a](a selector) in C:\projects\src\common\canopyExtensions.fs:line 338
at search.getSearchResults() in C:\projects\src\tests.ui\Tests\search_scenarios.fs:line 96
at [email protected](Unit _arg4) in C:\projects\src\tests.ui\Tests\search_scenarios.fs:line 254
at canopy.runner.runtest$cont@107(suite suite, Test test, Unit unitVar) in C:\projects\canopy\src\canopy\runner.fs:line 115

lefthandedgoat added a commit that referenced this issue Jan 19, 2016
@lefthandedgoat
Copy link
Owner

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

No branches or pull requests

2 participants