* Waits for navigation to finish. By default, takes configured `waitForNavigation` option. * * See [Puppeteer's reference](https://github.com/puppeteer/puppeteer/blob/main/docs/api/puppeteer.page.waitfornavigation.md) * * @param {*} opts
(opts = {})
| 2721 | * @param {*} opts |
| 2722 | */ |
| 2723 | async waitForNavigation(opts = {}) { |
| 2724 | opts = { |
| 2725 | timeout: this.options.getPageTimeout, |
| 2726 | waitUntil: this.options.waitForNavigation, |
| 2727 | ...opts, |
| 2728 | } |
| 2729 | return this.page.waitForNavigation(opts) |
| 2730 | } |
| 2731 | |
| 2732 | async waitUntilExists(locator, sec) { |
| 2733 | console.log(`waitUntilExists deprecated: |
no outgoing calls
no test coverage detected