File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
py/selenium/webdriver/common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ class Service(ABC):
53
53
def __init__ (
54
54
self ,
55
55
executable : str ,
56
- start_error_message : str ,
57
56
port : int = 0 ,
58
57
log_file : SubprocessStdAlias = DEVNULL ,
59
58
env : typing .Optional [typing .Mapping [typing .Any , typing .Any ]] = None ,
59
+ start_error_message : typing .Optional [str ] = None ,
60
60
) -> None :
61
61
self .path = executable
62
62
self .port = port or utils .free_port ()
63
63
self .log_file = open (os .devnull , "wb" ) if not _HAS_NATIVE_DEVNULL and log_file == DEVNULL else log_file
64
- self .start_error_message = start_error_message
64
+ self .start_error_message = start_error_message or ""
65
65
# Default value for every python subprocess: subprocess.Popen(..., creationflags=0)
66
66
self .creation_flags = 0
67
67
self .env = env or os .environ
You can’t perform that action at this time.
0 commit comments