

Now use the python command to run this script.

Use Ctrl+Alt+T to open Terminal and browse to the respective directory where you have saved this file. This should install Selenium on you system. Next, you would need to install Selenium using the pip installed The best way is to first install pip on your system Here is a link which explains how to use Python3 on Ubuntu if you are wondering how to use it :įor installing Selenium in your Ubuntu system, you need to use pip command. Although if you use the python version command in Terminal, it returns a different version, which I am trying to figure out. It comes pre installed with Python 3.4, so you can use Python 3 implementations very easily. Since command line is one of the best features of Linux, so I would try to use command line as much as I can.įirst of all, you don’t need to worry about installing Python on Ubuntu 14.04. So today I’m gonna post how to get started with Selenium, with Python on Ubuntu. And also I have now moved on to Ubuntu 14.04, which is very much cooler than compared to Windows ( no offence windows fans). It is very cool language, easy to work with and a lot of fun. And off late, I have been playing with a little bit of Python.

(Python only) include the path to ChromeDriver when instantiating webdriver.Playing with Selenium is one of my most loved things. (Java only) specify its location via the system property (see sample below) Include the ChromeDriver location in your PATH environment variable Help WebDriver find the downloaded ChromeDriver executable You can also force ChromeDriver to use a custom location by setting a special capability.ĭownload the ChromeDriver binary for your platform under the downloads section of this site If you are unfamiliar with Selenium WebDriver, you should check out the Selenium site.įollow these steps to setup your tests for running with ChromeDriver:Įnsure Chromium/Google Chrome is installed in a recognized locationĬhromeDriver expects you to have Chrome installed in the default location for your platform. It is maintained by the Chromium team with help from WebDriver contributors. ChromeDriver is a separate executable that Selenium WebDriver uses to control Chrome.
