Open
Description
openedon Mar 26, 2020
In https://github.com/plotly/dash-docs/pull/829 & https://app.circleci.com/pipelines/github/plotly/dash-docs/116/workflows/6647d2f6-4541-47fd-93fe-37d5f005f300/jobs/10757, I was getting the following error:
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document
This was hard to debug as I did not have this error locally. Some attempts at retrying didn't work, maybe I wasn't catching the right error (https://github.com/plotly/dash-docs/pull/829/commits/2c9fa1efbd76b8cec65bda34161290a210008fae, https://github.com/plotly/dash-docs/pull/829/commits/feb2482df0e9b8da311b517ca4a52db6631a3bdc)
In https://stackoverflow.com/a/44914767/4142536, there was a suggestion to use selenium's ignored_exceptions
argument. Perhaps we can add that, and this common exception, to our wait_for_text_to_equal
commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment