diff --git a/py/selenium/webdriver/common/selenium_manager.py b/py/selenium/webdriver/common/selenium_manager.py index f174bda4e59ce..6ba28921747be 100644 --- a/py/selenium/webdriver/common/selenium_manager.py +++ b/py/selenium/webdriver/common/selenium_manager.py @@ -41,7 +41,7 @@ def get_binary() -> Path: :Returns: The Selenium Manager executable location """ - if path := os.getenv("SE_MANAGER_PATH") is not None: + if (path := os.getenv("SE_MANAGER_PATH")) is not None: return Path(path) else: platform = sys.platform