Install Selenium using Python Binding

Profile picture for user devraj

Selenium Python Binding provides a simple API to write functional/acceptance tests using Selenium WebDriver. You can access all functionalities of Selenium Webdriver using Selenium Python API.

Selenium officially supports python 2.7 and 3.6, however other versions should also work.

It's a good practice to install python packages into virtual environments rather than in your global site packages.

You can download Python bindings for Selenium from the PyPI page for selenium package. However, a better approach would be to use pip to install the selenium package. Python 3.6 has pip available in the standard library. Using pip, you can install selenium with below command which is independent of Operating System:

$ pip install selenium
Tags