fix a typo in the api.md (#505)

This commit is contained in:
Vse Mozhet Byt 2017-08-24 00:29:47 +03:00 committed by JoelEinbinder
parent a1414de42f
commit 4471969524

View File

@ -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.
#### 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]>
> **NOTE** changing this value won't affect scripts that have already been run. It will take full effect on the next [navigation](#pagegotourl-options).