Skip to content

Commit 99e2e90

Browse files
Merge db529e3 into 3887639
2 parents 3887639 + db529e3 commit 99e2e90

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

py/selenium/webdriver/chromium/service.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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__(

py/selenium/webdriver/common/service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)