From 512a052dfcdfc064849d131b5328758311ed1570 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 1 Aug 2017 00:05:00 -0700 Subject: [PATCH] [doc] fix typo in api documentation --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 707b23fe..4c3d0cc1 100644 --- a/docs/api.md +++ b/docs/api.md @@ -619,7 +619,7 @@ browser.newPage().then(async page => - `width` <[number]> Specify page's width in pixels. - `height` <[number]> Specify page's height in pixels. - `deviceScaleFactor` <[number]> Specify device scale factor (could be though of as dpr). Defaults to `1`. - - `isMobile` <[boolean]> Weather the `meta viewport` tag is taken into account. Defaults to `false`. + - `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account. Defaults to `false`. - `hasTouch`<[boolean]> Specify if viewport supports touch events. Defaults to `false` - `isLandscape` <[boolean]> Specify if viewport is in the landscape mode. Defaults to `false`. - returns: <[Promise]> Promise which resolves when the dimensions are updated.