fix a typo in the api.md (#505)
This commit is contained in:
parent
a1414de42f
commit
4471969524
@ -661,7 +661,7 @@ The extra HTTP headers will be sent with every request the page initiates.
|
|||||||
> **NOTE** page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing requests.
|
> **NOTE** page.setExtraHTTPHeaders does not guarantee the order of headers in the outgoing requests.
|
||||||
|
|
||||||
#### page.setJavaScriptEnabled(enabled)
|
#### page.setJavaScriptEnabled(enabled)
|
||||||
- `enabled` <[boolean]> Whether or not to enabled JavaScript on the page.
|
- `enabled` <[boolean]> Whether or not to enable JavaScript on the page.
|
||||||
- returns: <[Promise]>
|
- returns: <[Promise]>
|
||||||
|
|
||||||
> **NOTE** changing this value won't affect scripts that have already been run. It will take full effect on the next [navigation](#pagegotourl-options).
|
> **NOTE** changing this value won't affect scripts that have already been run. It will take full effect on the next [navigation](#pagegotourl-options).
|
||||||
|
Loading…
Reference in New Issue
Block a user