Skip to content

Commit bdd7669

Browse files
authored
Fixed bug in Converter
1 parent b8febb4 commit bdd7669

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Converter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Converter
7676
await this._setHtml(page, this.html);
7777

7878
if (options.hasOwnProperty('pageWaitFor')) {
79-
await page.waitFor(parseInt(options.pageWaitFor));
79+
await page.waitForTimeout(parseInt(options.pageWaitFor));
8080
delete options.pageWaitFor;
8181
}
8282

0 commit comments

Comments
 (0)