Page navigation methods for the Playwright driver.
goto
Navigate to a URL.
Upstream docs
result
PlaywrightResponse | null
Return value
reload
Reload the page.
Upstream docs
options
PlaywrightNavigationOptions
result
PlaywrightResponse | null
Return value
goBack
Navigate back in history.
Upstream docs
options
PlaywrightNavigationOptions
result
PlaywrightResponse | null
Return value
goForward
Navigate forward in history.
Upstream docs
options
PlaywrightNavigationOptions
result
PlaywrightResponse | null
Return value
waitForURL
Wait for the main frame to navigate to the given URL.
Upstream docs
url
string | RegExp | ((url: URL) => boolean)
required
options
PlaywrightWaitForURLOptions
await page.waitForURL(/* string | RegExp | ((url: URL) => boolean) */);
waitForLoadState
Wait for the required load state to be reached.
State can be ‘load’, ‘domcontentloaded’, or ‘networkidle’.
Upstream docs
options
PlaywrightWaitForLoadStateOptions
await page.waitForLoadState();
waitForNavigation
Wait for the main frame navigation and return the main resource response.
Deprecated: This method is inherently racy. Use page.waitForURL() instead.
Upstream docs
options
PlaywrightWaitForNavigationOptions
result
PlaywrightResponse | null
Return value
await page.waitForNavigation();