We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8febb4 commit bdd7669Copy full SHA for bdd7669
1 file changed
lib/Converter.js
@@ -76,7 +76,7 @@ class Converter
76
await this._setHtml(page, this.html);
77
78
if (options.hasOwnProperty('pageWaitFor')) {
79
- await page.waitFor(parseInt(options.pageWaitFor));
+ await page.waitForTimeout(parseInt(options.pageWaitFor));
80
delete options.pageWaitFor;
81
}
82
0 commit comments