From d60cb15b421da919722ca6308f9c71e356e37fe8 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Thu, 16 Mar 2023 14:41:36 +0100 Subject: [PATCH] [py] Starting Selenium Server with Selenium Manager --- py/conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py/conftest.py b/py/conftest.py index ec04cf10c0250..2983857019bfc 100644 --- a/py/conftest.py +++ b/py/conftest.py @@ -237,7 +237,9 @@ def wait_for_server(url, timeout): ) except Exception: print("Starting the Selenium server") - process = subprocess.Popen(["java", "-jar", _path, "standalone", "--port", "4444"]) + process = subprocess.Popen( + ["java", "-jar", _path, "standalone", "--port", "4444", "--selenium-manager", "true"] + ) print(f"Selenium server running as process: {process.pid}") assert wait_for_server(url, 10), f"Timed out waiting for Selenium server at {url}" print("Selenium server is ready")