Fix style after 9faecc2e
This commit is contained in:
parent
9faecc2e67
commit
62111fbc08
@ -248,7 +248,7 @@ class Page extends EventEmitter {
|
|||||||
* @return {!Promise}
|
* @return {!Promise}
|
||||||
*/
|
*/
|
||||||
async setContent(html) {
|
async setContent(html) {
|
||||||
this.evaluate((html) => {
|
this.evaluate(html => {
|
||||||
document.open();
|
document.open();
|
||||||
document.write(html);
|
document.write(html);
|
||||||
document.close();
|
document.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user