Playwright · Function
page.goto
page.goto() navigates a Playwright page to a URL. It waits for a chosen navigation event and returns the main resource response when available.
Last updated
- Since
- before v1.9
Syntax
page.goto(url, *, referer=None, timeout=None, wait_until="load")In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
page.wait_for_urlpage.reloadpage.go_backpage.go_forwardpage.set_default_navigation_timeoutbrowser_context.route