From 245391cb54d21c4a10fd0a804ef94cadb81588a4 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 28 Jul 2017 01:25:33 -0700 Subject: [PATCH] [doc] add missing quote in api.md example --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index abac963b..a27aee22 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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();