We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 847acdb + 9345152 commit afd9ff1Copy full SHA for afd9ff1
src/scraper/middleware/components/HtmlPlaywrightMiddleware.ts
@@ -86,7 +86,7 @@ export class HtmlPlaywrightMiddleware implements ContentProcessorMiddleware {
86
// Use 'domcontentloaded' as scripts might need the initial DOM structure
87
// Use 'networkidle' if waiting for async data fetches is critical, but slower.
88
await page.goto(context.source, {
89
- waitUntil: "domcontentloaded",
+ waitUntil: "load",
90
});
91
92
// Optionally, add a small delay or wait for a specific element if needed
0 commit comments