Skip to content

Commit 84cfac8

Browse files
committed
[py] bad logic
1 parent 676af7c commit 84cfac8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/selenium/webdriver/common/driver_finder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def get_browser_path(self) -> str:
4747
return self._binary_paths()["browser_path"]
4848

4949
def get_driver_path(self) -> str:
50-
return self._paths["driver_path"]
50+
return self._binary_paths()["driver_path"]
5151

5252
def _binary_paths(self) -> dict:
53-
if self._paths:
53+
if self._paths["driver_path"]:
5454
return self._paths
5555

5656
browser = self._options.capabilities["browserName"]

0 commit comments

Comments
 (0)