diff --git a/py/selenium/webdriver/common/selenium_manager.py b/py/selenium/webdriver/common/selenium_manager.py index 843166bdf89fc..d38280d7cc1cd 100644 --- a/py/selenium/webdriver/common/selenium_manager.py +++ b/py/selenium/webdriver/common/selenium_manager.py @@ -122,5 +122,4 @@ def run(args: List[str]) -> str: if completed_proc.returncode: raise WebDriverException(f"Unsuccessful command executed: {command}.\n{result}{stderr}") - else: - return result + return result