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 @@ -56,7 +56,7 @@ def get_binary() -> Path:
56
56
if not path .is_file ():
57
57
raise WebDriverException (f"Unable to obtain working Selenium Manager binary; { path } " )
58
58
59
- logger .debug ("Selenium Manager binary found at: {location }" )
59
+ logger .debug (f "Selenium Manager binary found at: { path } " )
60
60
61
61
return path
62
62
@@ -123,7 +123,7 @@ def run(args: List[str]) -> dict:
123
123
output = json .loads (stdout )
124
124
result = output ["result" ]
125
125
except Exception as err :
126
- raise WebDriverException (f"Unsuccessful command executed: { command } ; { err } " )
126
+ raise WebDriverException (f"Unsuccessful command executed: { command } " ) from err
127
127
128
128
for item in output ["logs" ]:
129
129
if item ["level" ] == "WARN" :
You can’t perform that action at this time.
0 commit comments