diff --git a/lib/Page.js b/lib/Page.js index eb06dfa0..a964c895 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -248,7 +248,7 @@ class Page extends EventEmitter { * @return {!Promise} */ async setContent(html) { - this.evaluate((html) => { + this.evaluate(html => { document.open(); document.write(html); document.close();