Selenium Python Example
This repository contains the base setup of an UI testing project, using Python, Selenium Webdriver and Page Object Model pattern.
A simple search in DuckDuckGo to check that results are displayed is used as example
py -m venv venv
\venv\Scripts\activate
pip install -r requirements.txt
pytest -v --html=results/report.html
By default, tests will be executed in Chrome (normal mode). Preferences can be changed in "/data/config.yaml" file
To check the report, open the '/results/report.html' file once the execution has finished.