Skip to content

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

Add interactive live view URL support

Developers Digest0e4b1178f0ba
diff --git a/apps/js-sdk/firecrawl/package.json b/apps/js-sdk/firecrawl/package.json
index d8b3a1669..6f26a8430 100644
--- a/apps/js-sdk/firecrawl/package.json
+++ b/apps/js-sdk/firecrawl/package.json
@@ -1,6 +1,6 @@
{
"name": "@mendable/firecrawl-js",
- "version": "4.15.0",
+ "version": "4.15.1",
"description": "JavaScript SDK for Firecrawl API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
diff --git a/apps/js-sdk/firecrawl/src/v2/types.ts b/apps/js-sdk/firecrawl/src/v2/types.ts
index f928c4fb7..39bfd8e2f 100644
--- a/apps/js-sdk/firecrawl/src/v2/types.ts
+++ b/apps/js-sdk/firecrawl/src/v2/types.ts
@@ -692,6 +692,7 @@ export interface BrowserCreateResponse {
id?: string;
cdpUrl?: string;
liveViewUrl?: string;
+ interactiveLiveViewUrl?: string;
expiresAt?: string;
error?: string;
}
@@ -718,6 +719,7 @@ export interface BrowserSession {
status: string;
cdpUrl: string;
liveViewUrl: string;
+ interactiveLiveViewUrl?: string;
streamWebView: boolean;
createdAt: string;
lastActivity: string;
diff --git a/apps/python-sdk/firecrawl/__init__.py b/apps/python-sdk/firecrawl/__init__.py
index 6b9ffb912..5219818cb 100644
--- a/apps/python-sdk/firecrawl/__init__.py
+++ b/apps/python-sdk/firecrawl/__init__.py
@@ -17,7 +17,7 @@ from .v1 import (
V1ChangeTrackingOptions,
)
-__version__ = "4.18.0"
+__version__ = "4.18.1"
# Define the logger for the Firecrawl project
logger: logging.Logger = logging.getLogger("firecrawl")
diff --git a/apps/python-sdk/firecrawl/v2/methods/aio/browser.py b/apps/python-sdk/firecrawl/v2/methods/aio/browser.py
index 3be1bec89..27c8b8bcc 100644
--- a/apps/python-sdk/firecrawl/v2/methods/aio/browser.py
+++ b/apps/python-sdk/firecrawl/v2/methods/aio/browser.py
@@ -21,6 +21,8 @@ def _normalize_browser_create_response(payload: Dict[str, Any]) -> Dict[str, Any
out["cdp_url"] = out["cdpUrl"]
if "liveViewUrl" in out and "live_view_url" not in out:
out["live_view_url"] = out["liveViewUrl"]
+ if "interactiveLiveViewUrl" in out and "interactive_live_view_url" not in out:
+ out["interactive_live_view_url"] = out["interactiveLiveViewUrl"]
if "expiresAt" in out and "expires_at" not in out:
out["expires_at"] = out["expiresAt"]
return out
@@ -36,6 +38,8 @@ def _normalize_browser_list_response(payload: Dict[str, Any]) -> Dict[str, Any]:
ns["cdp_url"] = ns["cdpUrl"]
if "liveViewUrl" in ns and "live_view_url" not in ns:
ns["live_view_url"] = ns["liveViewUrl"]
+ if "interactiveLiveViewUrl" in ns and "interactive_live_view_url" not in ns:
+ ns["interactive_live_view_url"] = ns["interactiveLiveViewUrl"]
if "streamWebView" in ns and "stream_web_view" not in ns:
ns["stream_web_view"] = ns["streamWebView"]
if "createdAt" in ns and "created_at" not in ns:
diff --git a/apps/python-sdk/firecrawl/v2/methods/browser.py b/apps/python-sdk/firecrawl/v2/methods/browser.py
index 671122f17..3d75f43a1 100644
--- a/apps/python-sdk/firecrawl/v2/methods/browser.py
+++ b/apps/python-sdk/firecrawl/v2/methods/browser.py
@@ -22,6 +22,8 @@ def _normalize_browser_create_response(payload: Dict[str, Any]) -> Dict[str, Any
out["cdp_url"] = out["cdpUrl"]
if "liveViewUrl" in out and "live_view_url" not in out:
out["live_view_url"] = out["liveViewUrl"]
+ if "interactiveLiveViewUrl" in out and "interactive_live_view_url" not in out:
+ out["interactive_live_view_url"] = out["interactiveLiveViewUrl"]
if "expiresAt" in out and "expires_at" not in out:
out["expires_at"] = out["expiresAt"]
return out
@@ -37,6 +39,8 @@ def _normalize_browser_list_response(payload: Dict[str, Any]) -> Dict[str, Any]:
ns["cdp_url"] = ns["cdpUrl"]
if "liveViewUrl" in ns and "live_view_url" not in ns:
ns["live_view_url"] = ns["liveViewUrl"]
+ if "interactiveLiveViewUrl" in ns and "interactive_live_view_url" not in ns:
+ ns["interactive_live_view_url"] = ns["interactiveLiveViewUrl"]
if "streamWebView" in ns and "stream_web_view" not in ns:
ns["stream_web_view"] = ns["streamWebView"]
if "createdAt" in ns and "created_at" not in ns:
diff --git a/apps/python-sdk/firecrawl/v2/types.py b/apps/python-sdk/firecrawl/v2/types.py
index 4db150577..9876d94f0 100644
--- a/apps/python-sdk/firecrawl/v2/types.py
+++ b/apps/python-sdk/firecrawl/v2/types.py
@@ -820,6 +820,7 @@ class BrowserCreateResponse(BaseModel):
id: Optional[str] = None
cdp_url: Optional[str] = None
live_view_url: Optional[str] = None
+ interactive_live_view_url: Optional[str] = None
expires_at: Optional[str] = None
error: Optional[str] = None
@@ -852,6 +853,7 @@ class BrowserSession(BaseModel):
status: str
cdp_url: str
live_view_url: str
+ interactive_live_view_url: Optional[str] = None
stream_web_view: bool
created_at: str
last_activity: str