File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ class ChromiumService(service.Service):
3131 :param service_args: (Optional) List of args to be passed to the subprocess when launching the executable.
3232 :param log_path: (Optional) String to be passed to the executable as `--log-path`.
3333 :param env: (Optional) Mapping of environment variables for the new process, defaults to `os.environ`.
34- :param start_error_message: (Optional) Error message that forms part of the error when problems occur
35- launching the subprocess.
3634 """
3735
3836 def __init__ (
Original file line number Diff line number Diff line change @@ -218,7 +218,5 @@ def _start_process(self, path: str) -> None:
218218 raise
219219 except OSError as err :
220220 if err .errno == errno .EACCES :
221- raise WebDriverException (
222- f"'{ os .path .basename (self ._path )} ' executable may have wrong permissions. { self .start_error_message } "
223- )
221+ raise WebDriverException (f"'{ os .path .basename (self ._path )} ' executable may have wrong permissions." )
224222 raise
You can’t perform that action at this time.
0 commit comments