Skip to content

Commit 7ead8b8

Browse files
committed
[py]: Fix typing.Union t ypes for log_path
1 parent fcb8349 commit 7ead8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/chromium/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(
3030
executable_path: str,
3131
port: int = 0,
3232
service_args: typing.Optional[List[str]] = None,
33-
log_path: typing.Optional[typing.Any[str, int]] = None,
33+
log_path: typing.Optional[typing.Union[str, int]] = None,
3434
env: typing.Optional[typing.Dict[typing.Any, typing.Any]] = None,
3535
start_error_message: str = "",
3636
):

0 commit comments

Comments
 (0)