From 9d4ec506331628352c0297f967cabb475dea58d6 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Fri, 2 Dec 2022 12:42:27 -0600 Subject: [PATCH] [py] use the browser name that selenium-manager binary expects --- py/selenium/webdriver/common/service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py/selenium/webdriver/common/service.py b/py/selenium/webdriver/common/service.py index 4a702ece8c3ec..904994bac186d 100644 --- a/py/selenium/webdriver/common/service.py +++ b/py/selenium/webdriver/common/service.py @@ -92,6 +92,8 @@ def start(self) -> None: if "executable needs to be in PATH" in err.msg: logger.debug("driver not found in PATH, trying Selenium Manager") browser = self.__class__.__module__.split(".")[-2] + if browser == 'ie': + browser = 'iexplorer' try: path = SeleniumManager().driver_location(browser) except WebDriverException as new_err: