Skip to main content

Start Selenium standalone server with browsers on Ubuntu Terminal

There is not much difference in starting a server on any of operating system. To download selenium server  and a driver specific to browser click here.

Step 1: Navigate to Seleniumhq Download

Step 2: Click on "Download version 3.11.0" or higher

The download will start you can save it to desired directory. No installation Required.

You can launch any browser when you start Selenium server. Below is the code to start Chrome on Ubuntu.

For below code browser drivers are in /drivers directory and your selenium server is in /jar directory. You can give path of your system where drivers and jar is located.

Chrome

java -Dwebdriver.chrome.driver=drivers/chromedriver -jar jars/selenium-server-standalone-3.9.1.jar
Submitted by tgoswami on September 6, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.