This repository contains an automated testing framework for web applications using Selenium and Python 3.10. It includes sample test cases for demonstration for Essential Addons for Elementor demo page.
- Python 3.10
- virtualenv
- selenium
- pytest
Please note that you do not have to install the any Chrome driver separately, as this repository uses Selenium v4.6.1, which automatically downloads and runs the driver during test execution.
- Clone this repository to your local machine.
- Create a virtual environment using
virtualenv
:
$ virtualenv venv
- Activate the virtual environment:
$ source venv/bin/activate
- Install the required packages using pip:
$ pip install -r requirements.txt
- Activate the virtual environment:
$ source venv/bin/activate
- Run the tests:
$ pytest test/test_all_widgets.py
- Deactivate the virtual environment:
$ deactivate
Contributions to this repository are welcome. If you find any issues or have any suggestions for improvements, please submit a pull request or create an issue.