File tree 1 file changed +4
-4
lines changed
py/selenium/webdriver/webkitgtk
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,25 +28,25 @@ class Service(service.Service):
28
28
:param executable_path: install path of the WebKitWebDriver executable, defaults to `WebKitWebDriver`.
29
29
:param port: Port for the service to run on, defaults to 0 where the operating system will decide.
30
30
:param service_args: (Optional) List of args to be passed to the subprocess when launching the executable.
31
- :param log_path : (Optional) File path for the file to be opened and passed as the subprocess stdout/stderr handler.
31
+ :param log_output : (Optional) File path for the file to be opened and passed as the subprocess stdout/stderr handler.
32
32
:param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
33
33
"""
34
34
35
35
def __init__ (
36
36
self ,
37
37
executable_path : str = DEFAULT_EXECUTABLE_PATH ,
38
38
port : int = 0 ,
39
- log_path : typing .Optional [str ] = None ,
39
+ log_output : typing .Optional [str ] = None ,
40
40
service_args : typing .Optional [typing .List [str ]] = None ,
41
41
env : typing .Optional [typing .Mapping [str , str ]] = None ,
42
42
** kwargs ,
43
43
) -> None :
44
44
self .service_args = service_args or []
45
- log_file = open (log_path , "wb" ) if log_path else None
45
+ log_output = open (log_output , "wb" )
46
46
super ().__init__ (
47
47
executable_path = executable_path ,
48
48
port = port ,
49
- log_file = log_file ,
49
+ log_output = log_output ,
50
50
env = env ,
51
51
** kwargs ,
52
52
)
You can’t perform that action at this time.
0 commit comments