Configuring Web Applications Using Python Selenium Framework

Modified on Mon, 16 Sep at 1:59 PM

TABLE OF CONTENTS

1. Installation Requirements and Related Tasks

1.1 Install Selenium

1.2 Install Python and Required Libraries

1.3 Additions Components

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.


1.1 Install Selenium

Install Selenium by running the following command:

pip install selenium

1.2 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

1.3 Additions Components

In addition, the following components are required. 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.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article