Skip to content

Commit

Permalink
[py]: Revert removal of default executable global for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Oct 1, 2022
1 parent 31144ff commit 084ffc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/selenium/webdriver/safari/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
from selenium.webdriver.common import service
from selenium.webdriver.common import utils

DEFAULT_EXECUTABLE_PATH: str = "/usr/bin/safaridriver"


class Service(service.Service):
"""
Expand All @@ -30,7 +32,7 @@ class Service(service.Service):

def __init__(
self,
executable_path: str = "/usr/bin/safaridriver",
executable_path: str = DEFAULT_EXECUTABLE_PATH,
port: int = 0,
quiet: bool = False,
service_args: typing.Optional[typing.List[str]] = None,
Expand Down

0 comments on commit 084ffc8

Please sign in to comment.