Skip to content

Commit

Permalink
fix a typo in the api.md (puppeteer#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt authored and JoelEinbinder committed Aug 23, 2017
1 parent a1414de commit 4471969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 4471969

Please sign in to comment.