Wednesday, April 29, 2015

How to Install Python and Selenium in Linux (Ubuntu)?


To install Selenium means to set up a project in a development so you can write a program using Selenium.

Supported Python Versions:
  • Python 2.6, 2.7
  • Python 3.2, 3.3
Step 1: Install pip, if not already installed:

pip is a package management system used to install and manage software packages written in Python. You can install it by typing:
sudo apt-get install python-pip
Step 2: Install or upgrade the Python bindings:

pip install -U selenium

Alternately, you can download the source distribution from PyPI (e.g. selenium-2.45.tar.gz), unarchive it, and run:

python setup.py install

No comments:

Post a Comment