Skip to content

Commit 084ffc8

Browse files
committed
[py]: Revert removal of default executable global for safari
1 parent 31144ff commit 084ffc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/selenium/webdriver/safari/service.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
from selenium.webdriver.common import service
2323
from selenium.webdriver.common import utils
2424

25+
DEFAULT_EXECUTABLE_PATH: str = "/usr/bin/safaridriver"
26+
2527

2628
class Service(service.Service):
2729
"""
@@ -30,7 +32,7 @@ class Service(service.Service):
3032

3133
def __init__(
3234
self,
33-
executable_path: str = "/usr/bin/safaridriver",
35+
executable_path: str = DEFAULT_EXECUTABLE_PATH,
3436
port: int = 0,
3537
quiet: bool = False,
3638
service_args: typing.Optional[typing.List[str]] = None,

0 commit comments

Comments
 (0)