Playwright · Method
page.waitForURL
page.waitForURL() waits for the main frame to reach a matching URL. Use it after an action that causes navigation, such as clicking a link.
Last updated
- Since
- v1.11
Syntax
await page.waitForURL(url, options);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
page.waitForNavigationpage.gotopage.reloadpage.goBackpage.goForwardpage.setDefaultNavigationTimeout