@@ -66,6 +66,7 @@ def __init__(
6666 local_host : str = "127.0.0.1" ,
6767 local_port : int = 0 ,
6868 local_headless : bool = True ,
69+ local_chrome_path : str | None = None ,
6970 local_ready_timeout_s : float = 10.0 ,
7071 local_openai_api_key : str | None = None ,
7172 local_shutdown_on_close : bool = True ,
@@ -100,6 +101,7 @@ def __init__(
100101 self ._local_host = local_host
101102 self ._local_port = local_port
102103 self ._local_headless = local_headless
104+ self ._local_chrome_path = local_chrome_path
103105 self ._local_ready_timeout_s = local_ready_timeout_s
104106 self ._local_openai_api_key = local_openai_api_key
105107 self ._local_shutdown_on_close = local_shutdown_on_close
@@ -134,6 +136,7 @@ def __init__(
134136 headless = local_headless ,
135137 ready_timeout_s = local_ready_timeout_s ,
136138 openai_api_key = openai_api_key ,
139+ chrome_path = local_chrome_path ,
137140 shutdown_on_close = local_shutdown_on_close ,
138141 ),
139142 _local_stagehand_binary_path = _local_stagehand_binary_path ,
@@ -350,6 +353,7 @@ def __init__(
350353 local_host : str = "127.0.0.1" ,
351354 local_port : int = 0 ,
352355 local_headless : bool = True ,
356+ local_chrome_path : str | None = None ,
353357 local_ready_timeout_s : float = 10.0 ,
354358 local_openai_api_key : str | None = None ,
355359 local_shutdown_on_close : bool = True ,
@@ -384,6 +388,7 @@ def __init__(
384388 self ._local_host = local_host
385389 self ._local_port = local_port
386390 self ._local_headless = local_headless
391+ self ._local_chrome_path = local_chrome_path
387392 self ._local_ready_timeout_s = local_ready_timeout_s
388393 self ._local_openai_api_key = local_openai_api_key
389394 self ._local_shutdown_on_close = local_shutdown_on_close
@@ -417,6 +422,7 @@ def __init__(
417422 headless = local_headless ,
418423 ready_timeout_s = local_ready_timeout_s ,
419424 openai_api_key = openai_api_key ,
425+ chrome_path = local_chrome_path ,
420426 shutdown_on_close = local_shutdown_on_close ,
421427 ),
422428 _local_stagehand_binary_path = _local_stagehand_binary_path ,
0 commit comments