Selenium Standalone _verified_ May 2026
driver.get("https://www.google.com") print(driver.title) driver.quit() import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.RemoteWebDriver; import org.openqa.selenium.chrome.ChromeOptions; import java.net.URL; public class Test public static void main(String[] args) throws Exception ChromeOptions options = new ChromeOptions(); WebDriver driver = new RemoteWebDriver( new URL("http://localhost:4444"), options );
driver.get("https://www.google.com"); System.out.println(driver.getTitle()); driver.quit(); selenium standalone
This should get you started with Selenium Standalone Server! Need help with any specific scenario? driver
Run with config:
[[node]] driver-implementation = "chrome" max-sessions = 5 -f "$JAR" ]; then wget https://github
#!/bin/bash JAR="selenium-server-4.27.0.jar" if [ ! -f "$JAR" ]; then wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.27.0/$JAR fi Start server echo "Starting Selenium Standalone on http://localhost:4444" java -jar $JAR standalone --selenium-manager true Access UI at http://localhost:4444/ui
# Run Selenium Standalone with Chrome docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:latest Run with Firefox docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-firefox:latest Access VNC at http://localhost:7900 (password: secret) Advanced Configuration Starting with Custom Drivers # Chrome java -jar selenium-server-4.27.0.jar standalone \ --selenium-manager true \ --driver-implementation chrome Firefox java -jar selenium-server-4.27.0.jar standalone --selenium-manager true --driver-implementation firefox With driver path java -jar selenium-server-4.27.0.jar standalone --driver-chrome-driver /path/to/chromedriver Configuration File Example Create config.toml :
