Skip to content

Commit

Permalink
use waitForTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau committed Sep 12, 2020
1 parent 3939768 commit bd8bd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clicktests/environment.js
Expand Up @@ -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) {
Expand Down

0 comments on commit bd8bd5a

Please sign in to comment.