Site icon TestingDocs.com

Python language bindings for Selenium

Python language bindings for Selenium

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

Install

Launch a web browser and navigate to the following URL

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, pip should be 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.

Python Tutorials

Python Tutorial on this website can be found at:

https://www.testingdocs.com/python-tutorials/

More information on Python is available at the official website:

https://www.python.org

Exit mobile version