From 83d1066f14bbcac27ac9fbace936d098f71bec27 Mon Sep 17 00:00:00 2001 From: Arjun Gadhia Date: Tue, 2 Oct 2018 14:00:19 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20changing=20viewport=20=20?= =?UTF-8?q?=F0=9F=90=BF=20v2.10.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/smoke/puppeteer-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/smoke/puppeteer-page.js b/lib/smoke/puppeteer-page.js index b18eaf9..7a553e2 100644 --- a/lib/smoke/puppeteer-page.js +++ b/lib/smoke/puppeteer-page.js @@ -62,7 +62,7 @@ class PuppeteerPage { await setSessionCookies(this.page, this.url.toString(), tokens); } - this.page.setViewport(this.dimensions); + await this.page.setViewport(this.dimensions); if(this.check.cssCoverage) {