Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update main.py

Nicolas3e63985e53bc
diff --git a/apps/playwright-service/main.py b/apps/playwright-service/main.py
index a044597a6..544f1135f 100644
--- a/apps/playwright-service/main.py
+++ b/apps/playwright-service/main.py
@@ -35,7 +35,6 @@ async def root(body: UrlModel):
wait_until="load",
timeout=body.wait if body.wait else 15,
)
- await page.wait_for_selector("body", state="attached")
page_content = await page.content()
await context.close()
json_compatible_item_data = {"content": page_content}