From 135ce58e2f05caadd09bde346932a8c4b0564045 Mon Sep 17 00:00:00 2001 From: campersau Date: Sat, 12 Sep 2020 13:09:24 +0200 Subject: [PATCH] use waitForTimeout https://github.com/puppeteer/puppeteer/pull/6268 --- clicktests/environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clicktests/environment.js b/clicktests/environment.js index 2b7328258..e341f6d93 100644 --- a/clicktests/environment.js +++ b/clicktests/environment.js @@ -249,7 +249,7 @@ class Environment { return this.page.waitForSelector(selector, { hidden: true }); } wait(duration) { - return this.page.waitFor(duration); + return this.page.waitForTimeout(duration); } type(text) {