[doc] add missing quote in api.md example

This commit is contained in:
Andrey Lushnikov 2017-07-28 01:25:33 -07:00 committed by GitHub
parent 91785d97f3
commit 245391cb54

View File

@ -940,7 +940,7 @@ const {Browser} = require('.');
const browser = new Browser();
browser.newPage().then(async page => {
const watchDog = page.waitForFunction('window.innerWidth < 100);
const watchDog = page.waitForFunction('window.innerWidth < 100');
page.setViewport({width: 50, height: 50});
await watchDog;
browser.close();