-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
Hi! Thanks for the plugin, it's very useful.
I generally use the PageMethod("wait_for_load_state", "networkidle") to know when a page has done loading, but I encountered a site that keeps doing requests in the background, so I get a timeout error.
On normal playwright I'd handle the situation like this:
await page.goto(url);
await Promise.race([
page.waitForLoadState("networkidle"),
page.waitForTimeout(25),
]);
So to wait for networkidle OR 25 seconds.
Is it possible to do so with scrapy-playwright?
Metadata
Metadata
Assignees
Labels
No labels