Skip to content

Improve the Local Browser Customization documentation #873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/examples/customize_browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ stagehand = Stagehand(StagehandConfig(

Stagehand allows you to customize your local browser in a few different ways.

You can use [`localBrowserLaunchOptions` type](https://github.com/browserbase/stagehand/blob/84f810b4631291307a32a47addad7e26e9c1deb3/types/stagehand.ts#L134-L174) to customize the browser you want Stagehand to use.
You can use the [`localBrowserLaunchOptions` parameter](/reference/initialization_config#param-local-browser-launch-options) to customize the browser you want Stagehand to use.

<CodeGroup>
```typescript TypeScript
const stagehand = new Stagehand({
localBrowserLaunchOptions: {
cdpUrl: 'your-cdp-url',
cdpUrl: 'your-cdp-url',
}
})
```
Expand Down