* Waits for page navigates to a new URL or reloads. By default, it takes configured `waitForNavigation` option. * * See [Playwright's reference](https://playwright.dev/docs/api/class-page#page-wait-for-url) * * @param {string|RegExp} url - A glob pattern, regex pattern or predicate recei
(url, options = {})
| 3722 | * @param {*} options |
| 3723 | */ |
| 3724 | async waitForURL(url, options = {}) { |
| 3725 | options = { |
| 3726 | timeout: this.options.getPageTimeout, |
| 3727 | waitUntil: this.options.waitForNavigation, |
| 3728 | ...options, |
| 3729 | } |
| 3730 | return this.page.waitForURL(url, options) |
| 3731 | } |
| 3732 | |
| 3733 | async waitUntilExists(locator, sec) { |
| 3734 | console.log(`waitUntilExists deprecated: |
no outgoing calls
no test coverage detected