Site icon TestingDocs.com

Python language bindings for Selenium

Introduction

In this article, we will learn how to install the Python language bindings for Selenium a.k.a Selenium Client driver.  The selenium package is used to automate web browser interaction from Python.

Install

Search Google with: selenium python download keywords.

Click on the first link: https://pypi.python.org/pypi/selenium

Click on the Downloads button to download.

 

 

There are many ways to install the bindings.

Using pip

You can install or upgrade the Python bindings using pip. If you run the latest python you should have pip automatically installed on your machine.

/>pip install -U selenium

 

Using source archive.

You can download the source distribution, unarchive it, and run the following command:

python setup.py install

Using wheels.

The wheel is a built, archive format that can greatly speed installation compared to building and installing from source archives.

pip install <filename.whl>

 

The angle brackets are just for illustration. Not needed in the exact command.

 

 

Exit mobile version