File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 11from .agent import Agent
2- from .client import Stagehand
32from .config import StagehandConfig , default_config
43from .handlers .observe_handler import ObserveHandler
4+ from .main import Stagehand
55from .metrics import StagehandFunctionName , StagehandMetrics
66from .page import StagehandPage
77from .schemas import (
Original file line number Diff line number Diff line change 3939
4040class Stagehand :
4141 """
42- Python client for interacting with a running Stagehand server and Browserbase remote headless browser.
43-
44- Now supports automatically creating a new session if no session_id is provided.
45- You can provide a configuration via the 'config' parameter, or use individual parameters to override
46- the default configuration values.
42+ Main Stagehand class.
4743 """
4844
49- # Dictionary to store one lock per session_id
5045 _session_locks = {}
51-
52- # Flag to track if cleanup has been called
5346 _cleanup_called = False
5447
5548 def __init__ (
You can’t perform that action at this time.
0 commit comments