forked from puppeteer/puppeteer
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(page): introduce Page.ensureNavigation
This patch adds a new method - `Page.ensureNavigation` - that completes once the last running navigation hits the conditions defined in `waitUntil` clause. This comes handy when awaiting loading of a pages spawned as a result of ctrl-click and other events. References puppeteer#3083
- Loading branch information
1 parent
c90392b
commit 7004854
Showing
3 changed files
with
97 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters