You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(line 5) Error: Execution context was destroyed, most likely because of a navigation.: for command `wait-for-document-property: {"URL": "https://example.com/"}
However, this workaround is not optimal because it unnecessarily increases the required testing time when the external page loads quickly, and falsely fails the test when the external page loads slowly.
Long-term solution should be adding the ability to call Page.waitForNavigation() somewhere in the .goml file.
Steps to reproduce the issue:
index.html
:example.goml
:Expected result: test case completes successfully
Actual result: test case returns this error:
This issue arises because
Page.waitForNavigation()
is not called inwait-for-document-property
.As a workaround, you can hardcode a duration to wait for the external navigation to finish loading:
However, this workaround is not optimal because it unnecessarily increases the required testing time when the external page loads quickly, and falsely fails the test when the external page loads slowly.
Long-term solution should be adding the ability to call
Page.waitForNavigation()
somewhere in the.goml
file.Related discussion: rust-lang/rust#106391 (comment)
The text was updated successfully, but these errors were encountered: