mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-12-05 09:08:11 +01:00
Improve old JS challenge waiting. Resolves #129
This commit is contained in:
@@ -186,6 +186,7 @@ export default async function resolveChallenge(url: string, page: Page, response
|
||||
} else {
|
||||
// reload the page to make sure we get the real response
|
||||
response = await page.reload()
|
||||
await page.content()
|
||||
log.info('Challenge solved.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user