File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
py/selenium/webdriver/safari Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 16
16
# under the License.
17
17
18
18
import typing
19
- import warnings
20
19
21
20
from selenium .webdriver .common import service
22
21
@@ -27,7 +26,6 @@ class Service(service.Service):
27
26
28
27
:param executable_path: install path of the safaridriver executable, defaults to `/usr/bin/safaridriver`.
29
28
: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.
31
29
:param service_args: (Optional) List of args to be passed to the subprocess when launching the executable.
32
30
:param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
33
31
"""
@@ -36,19 +34,12 @@ def __init__(
36
34
self ,
37
35
executable_path : str = None ,
38
36
port : int = 0 ,
39
- quiet : bool = None ,
40
37
service_args : typing .Optional [typing .List [str ]] = None ,
41
38
env : typing .Optional [typing .Mapping [str , str ]] = None ,
42
39
reuse_service = False ,
43
40
** kwargs ,
44
41
) -> None :
45
42
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
- )
52
43
53
44
self .reuse_service = reuse_service
54
45
super ().__init__ (
You can’t perform that action at this time.
0 commit comments