Install Selenium WebDriver Client Python API

Q

How to download and install Selenium WebDriver Client Python API?

✍: FYIcenter.com

A

To download and install Selenium WebDriver Client Python API, you can follow these steps:

1. Make you have Python engine installed properly and accessible from the command line window.

2. Download and install Selenium WebDriver Client Python API by running the "pip" Python command.

C:\fyicenter>pip install selenium
Collecting selenium
  Downloading https://files.pythonhosted.org/packages/80/d6/... (904kB)
Collecting urllib3 (from selenium)
  Downloading https://files.pythonhosted.org/packages/e6/60/...(150kB)
Installing collected packages: urllib3, selenium
Successfully installed selenium-3.141.0 urllib3-1.25.3

3. Verify Selenium Client Python API files:

C:\fyicenter> cd \Users\fyicenter\AppData\Local\Programs\Python\Python37-32

C:\...> dir lib\site-packages\selenium

    <DIR>          common
    <DIR>          webdriver
               813 __init__.py
    <DIR>          __pycache__

4. Verify Selenium WebDriver Client Python API with Python script:

C:\fyicenter> python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 19:29:22) 
   [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

>>> import selenium
>>> selenium.1.00
'3.141.0'

Selenium Client Python API 3.141 is installed and ready for you to use.

 

⇒ Chrome WebDriver Script with Selenium Python API

⇐ What Is Selenium WebDriver Client Python API

⇑ Starting with Selenium WebDriver Client Python API

⇑⇑ Selenium Tutorials

2019-11-21, 1058👍, 0💬