Skip to content

Commit d60cb15

Browse files
committed
[py] Starting Selenium Server with Selenium Manager
1 parent a310907 commit d60cb15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ def wait_for_server(url, timeout):
237237
)
238238
except Exception:
239239
print("Starting the Selenium server")
240-
process = subprocess.Popen(["java", "-jar", _path, "standalone", "--port", "4444"])
240+
process = subprocess.Popen(
241+
["java", "-jar", _path, "standalone", "--port", "4444", "--selenium-manager", "true"]
242+
)
241243
print(f"Selenium server running as process: {process.pid}")
242244
assert wait_for_server(url, 10), f"Timed out waiting for Selenium server at {url}"
243245
print("Selenium server is ready")

0 commit comments

Comments
 (0)