Skip to content

Commit 3b92812

Browse files
committed
A python script for downloading the selenium server
1 parent f058939 commit 3b92812

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
""" Download the selenium server jar file """
2+
3+
import os
4+
from seleniumbase.core import selenium_launcher
5+
6+
if not selenium_launcher.is_available_locally():
7+
selenium_launcher.download_selenium()
8+
9+
for filename in os.listdir("."):
10+
if filename.startswith("selenium-server-standalone-"):
11+
os.rename(filename, "selenium-server-standalone.jar")

0 commit comments

Comments
 (0)