Skip to content

Commit 5e2fd23

Browse files
authored
Fix wrong type annotations for "env" it's a dict not a string (#10072)
1 parent 201fad3 commit 5e2fd23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

py/selenium/webdriver/chrome/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Service(service.ChromiumService):
2929

3030
def __init__(self, executable_path: str = DEFAULT_EXECUTEABLE_PATH,
3131
port: int = 0, service_args: List[str] = None,
32-
log_path: str = None, env: str = None):
32+
log_path: str = None, env: dict = None):
3333
"""
3434
Creates a new instance of the Service
3535

py/selenium/webdriver/chromium/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ChromiumService(service.Service):
2525
"""
2626

2727
def __init__(self, executable_path: str, port: int = 0, service_args: List[str] = None,
28-
log_path: str = None, env: str = None, start_error_message: str = None):
28+
log_path: str = None, env: dict = None, start_error_message: str = None):
2929
"""
3030
Creates a new instance of the Service
3131

0 commit comments

Comments
 (0)