mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
[doc] elaborate on url
parameter in page.goto
. (#504)
This commit is contained in:
parent
4471969524
commit
b8c3686e6d
@ -514,7 +514,7 @@ can not go back, resolves to null.
|
|||||||
Navigate to the next page in history.
|
Navigate to the next page in history.
|
||||||
|
|
||||||
#### page.goto(url, options)
|
#### page.goto(url, options)
|
||||||
- `url` <[string]> URL to navigate page to
|
- `url` <[string]> URL to navigate page to. The url should include scheme, e.g. `https://`.
|
||||||
- `options` <[Object]> Navigation parameters which might have the following properties:
|
- `options` <[Object]> Navigation parameters which might have the following properties:
|
||||||
- `timeout` <[number]> Maximum navigation time in milliseconds, defaults to 30 seconds.
|
- `timeout` <[number]> Maximum navigation time in milliseconds, defaults to 30 seconds.
|
||||||
- `waitUntil` <[string]> When to consider navigation succeeded, defaults to `load`. Could be either:
|
- `waitUntil` <[string]> When to consider navigation succeeded, defaults to `load`. Could be either:
|
||||||
|
Loading…
Reference in New Issue
Block a user