Installation Steps for Python Selenium Framework
Applies to the Web Applications using Python Selenium framework. To perform Web Test Automation using the Python Selenium framework, Python and Selenium are the required components.
The installation method varies depending on your requirement and the platform that you choose to install.
Installation Requirements and Related Tasks
Install Selenium
Install Selenium by running the following command:
pip install selenium
Install Python and Required Libraries
- Download and install the latest version of Python from the official website (Python.org).
- Install the required packages by running the following commands:
Package Version -------------------------- --------- allure-behave 2.13.2 Appium-Python-Client 3.0.0 behave 1.2.6 numpy 1.26.0 opencv-python 4.8.0.76 Pillow 10.0.1 pixelmatch 0.3.0 PyYAML 6.0.1 requests 2.31.0 scikit-image 0.21.0 scipy 1.11.2 selenium 4.13.0 webdriver-manager 4.0.1 xmltodict 0.13.0 - View the Installed Packages: After installing Python and the required libraries, run the following command to view a list of installed packages and verify that requests and selenium are included.
pip list
Additions Components (Optional)
In addition, the following components are required for non-web enabled version. Click only the required links corresponding to the components you need for installation procedure. You can download the latest or compatible versions of the required components by clicking the Downloads link.
algoQA, Academy, algoScraper Extension, Downloads
Was this page helpful?