

Next we would be working on a few simple tests using Python. It does this with the help of a software called WebDriver which allows you to emulate a web browser and test your web application in it. Once you hit enter, you’ll see that it opens up the Firefox browser and opens up the given url, which is the homepage of Ubuntu.Įt Viola!We have successfully ran the first program using Selenium and Python on a Ubuntu system. 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. Playing with Selenium is one of my most loved things.
