mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2026-04-30 19:45:35 +02:00
Fix Puppeter deprecation warnings
This commit is contained in:
@@ -177,7 +177,7 @@ async function gotoPage(params: V1Request, page: Page): Promise<HTTPResponse> {
|
||||
</html>
|
||||
`
|
||||
);
|
||||
await page.waitFor(2000)
|
||||
await page.waitForTimeout(2000)
|
||||
try {
|
||||
await page.waitForNavigation({waitUntil: 'domcontentloaded', timeout: 2000})
|
||||
} catch (e) {}
|
||||
|
||||
Reference in New Issue
Block a user