Skip to content

Commit

Permalink
docs(api.md): Fix evaluateOnNewDocument sample syntax error (puppetee…
Browse files Browse the repository at this point in the history
  • Loading branch information
Glennvd authored and aslushnikov committed Feb 26, 2018
1 parent 2a84f9f commit 8578283
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 @@ -864,7 +864,7 @@ An example of overriding the navigator.languages property before the page loads:
Object.defineProperty(navigator, "languages", {
get: function() {
return ["en-US", "en", "bn"];
};
}
});

// In your puppeteer script, assuming the preload.js file is in same folder of our script
Expand Down

0 comments on commit 8578283

Please sign in to comment.