Launch a local Chromium browser with CDP enabled. Only available in embedded mode (Documentation Index
Fetch the complete documentation index at: https://skyvern.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Skyvern.local()).
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
headless | bool | No | False | Run browser without a visible window. |
port | int | No | 9222 | CDP port. |
args | list[str] | No | None | Additional Chromium launch arguments. |
user_data_dir | str | No | None | Custom user data directory for the browser. |
Returns SkyvernBrowser
launch_local_browser only works in embedded mode because a remote server cannot reach localhost. TypeScript SDK does not support local mode.
