-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
feat: page.handleLocator
that closes any interstitial pages/dialogs
#29029
Conversation
This comment has been minimized.
This comment has been minimized.
Test results for "tests 2"4 fatal errors, not part of any test 70 flaky174397 passed, 7816 skipped, 24 did not run Merge workflow run. |
@@ -3130,6 +3130,202 @@ return value resolves to `[]`. | |||
### param: Page.querySelectorAll.selector = %%-query-selector-%% | |||
* since: v1.9 | |||
|
|||
|
|||
## async method: Page.handleLocator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't quite like handleLocator
, in particular because we already have JS/ElementHandle
and Locator
in the API. Perhaps something like interceptLocator
? or probably invert it to Locator.intercept()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good feedback, let's leave it for the API review!
3f73684
to
5a31a91
Compare
This comment has been minimized.
This comment has been minimized.
5a31a91
to
c9a5557
Compare
Test results for "tests 1"4 flaky21337 passed, 579 skipped Merge workflow run. |
No description provided.