

Next, visit the Chromedriver download page and download the matching version of chromedriver on your system. The WebDriver is an open-source tool for automated testing of web apps across multiple browsers.įind out the Google chrome version installed on your system. ChromeDriver is a standalone server which implements WebDriver’s wire protocol for Chromium. You are also required to set up ChromeDriver on your system.
#Selenium server standalone install install#
sudo curl -sS -o - | apt-key add sudo bash -c "echo 'deb stable main' > /etc/apt//google-chrome.list" sudo apt -y update sudo apt -y install google-chrome-stable Step 3 – Installing ChromeDriver Google chrome headless feature opens multipe doors for the automation. Now install Latest Google chrome package on your system using the below list commands. sudo apt install default-jdk Step 2 – Install Google Chrome

Let’s install Oracle Java 8 on your system or use below command to install OpenJDK. sudo apt update sudo apt install -y unzip xvfb libxi6 libgconf-2-4Īlso, install Java on your system. This is helpful for CLI applications like CI services.

It implements the X11 display server protocol without any display. Here Xvfb (X virtual framebuffer) is an in-memory display server for a UNIX-like operating system (e.g., Linux). Read This: Setup Selenium with Firefox on Ubuntu Step 1 – PrerequisitesĮxecute the following commands to install the required packages on your system. This tutorial also includes an example of a Java program that uses a Selenium standalone server and ChromeDriver and runs a sample test case. This tutorial will help you to set up Selenium with ChromeDriver on Ubuntu, and LinuxMint systems.
