MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / waitForURL

Method waitForURL

lib/helper/Playwright.js:3724–3731  ·  view source on GitHub ↗

* 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 = {})

Source from the content-addressed store, hash-verified

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:

Callers 3

waitUrlEqualsMethod · 0.80
proceedClickFunction · 0.80
Playwright_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected