We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DriverFinder.get_path(...)
1 parent 642c4fd commit b4dd762Copy full SHA for b4dd762
1 file changed
py/selenium/webdriver/common/driver_finder.py
@@ -37,8 +37,8 @@ def get_path(service: Service, options: BaseOptions) -> str:
37
try:
38
path = SeleniumManager().driver_location(options) if path is None else path
39
except Exception as err:
40
- msg = f"Unable to obtain driver for {options.capabilities['browserName']} using Selenium Manager; {err}"
41
- raise NoSuchDriverException(msg)
+ msg = f"Unable to obtain driver for {options.capabilities['browserName']} using Selenium Manager."
+ raise NoSuchDriverException(msg) from err
42
43
if path is None or not Path(path).is_file():
44
raise NoSuchDriverException(f"Unable to locate or obtain driver for {options.capabilities['browserName']}")
0 commit comments