Skip to content

Commit b1aae60

Browse files
committed
[py] remove deprecated quiet parameter from Safari service constructor
1 parent 64aea82 commit b1aae60

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

py/selenium/webdriver/safari/service.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# under the License.
1717

1818
import typing
19-
import warnings
2019

2120
from selenium.webdriver.common import service
2221

@@ -27,7 +26,6 @@ class Service(service.Service):
2726
2827
:param executable_path: install path of the safaridriver executable, defaults to `/usr/bin/safaridriver`.
2928
:param port: Port for the service to run on, defaults to 0 where the operating system will decide.
30-
:param quiet: (Deprecated) Suppress driver stdout & stderr, redirects to os.devnull if enabled.
3129
:param service_args: (Optional) List of args to be passed to the subprocess when launching the executable.
3230
:param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
3331
"""
@@ -36,19 +34,12 @@ def __init__(
3634
self,
3735
executable_path: str = None,
3836
port: int = 0,
39-
quiet: bool = None,
4037
service_args: typing.Optional[typing.List[str]] = None,
4138
env: typing.Optional[typing.Mapping[str, str]] = None,
4239
reuse_service=False,
4340
**kwargs,
4441
) -> None:
4542
self.service_args = service_args or []
46-
if quiet is not None:
47-
warnings.warn(
48-
"quiet is no longer needed to supress output",
49-
DeprecationWarning,
50-
stacklevel=2,
51-
)
5243

5344
self.reuse_service = reuse_service
5445
super().__init__(

0 commit comments

Comments
 (0)