Skip to content

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

[Bug Fix] Make WaitAction milliseconds field optional in firecrawl-py (#1533)

devin-ai-integration[bot]21adf047be1b
diff --git a/apps/python-sdk/firecrawl/firecrawl.py b/apps/python-sdk/firecrawl/firecrawl.py
index d51c3208a..1cf62cf7f 100644
--- a/apps/python-sdk/firecrawl/firecrawl.py
+++ b/apps/python-sdk/firecrawl/firecrawl.py
@@ -161,7 +161,7 @@ class ScrapeOptions(pydantic.BaseModel):
class WaitAction(pydantic.BaseModel):
"""Wait action to perform during scraping."""
type: Literal["wait"]
- milliseconds: int
+ milliseconds: Optional[int] = None
selector: Optional[str] = None
class ScreenshotAction(pydantic.BaseModel):