Skip to content

Commit 9d4ec50

Browse files
committed
[py] use the browser name that selenium-manager binary expects
1 parent 935226b commit 9d4ec50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def start(self) -> None:
9292
if "executable needs to be in PATH" in err.msg:
9393
logger.debug("driver not found in PATH, trying Selenium Manager")
9494
browser = self.__class__.__module__.split(".")[-2]
95+
if browser == 'ie':
96+
browser = 'iexplorer'
9597
try:
9698
path = SeleniumManager().driver_location(browser)
9799
except WebDriverException as new_err:

0 commit comments

Comments
 (0)