SDK: use Skyvern.local() factory method (#4206)

This commit is contained in:
Stanislav Novosad
2025-12-05 13:21:40 -07:00
committed by GitHub
parent 32fb2315f0
commit e1693b2fef
7 changed files with 89 additions and 94 deletions

View File

@@ -18,7 +18,7 @@ class SkyvernBrowser(BrowserContext):
Example:
```python
skyvern = Skyvern()
skyvern = Skyvern.local()
browser = await skyvern.launch_local_browser()
# Get or create the working page
@@ -32,7 +32,6 @@ class SkyvernBrowser(BrowserContext):
_browser_context: The underlying Playwright BrowserContext.
_browser_session_id: Optional session ID for persistent browser sessions.
_browser_address: Optional address for remote browser connections.
_client: The AsyncSkyvern client for API communication.
"""
def __init__(