Skip to content

Browser Configuration Python Code in Document Website's Official Docs Contains Errors #1288

@LeoBline

Description

@LeoBline
Image

The code that can be executed correctly is as follows:

`from stagehand import Stagehand

stagehand = Stagehand(
env="LOCAL",
local_browser_launch_options={
“cdp_url“:"http://localhost:9222"
}
)

await stagehand.init()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions