Skip to content

TechWithAlexDuta/selenium-webdriver-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python

Tutorials and sample web automation tests project using Selenium and Python

Installation

  1. Make sure you have .Python 3 or newer installed on your machine (project was developed using python 3.12). Check installation
    python -V
  2. Clone this repository to your local machine.
  3. Open folder (selenium-webdriver-python) in VS Code.
  4. Using terminal navigate to project folder and run
    pip install -r requirements.txt

Usage

  1. Make sure you have the appropriate browser installed (https://www.selenium.dev/documentation/webdriver/browsers/)
  2. Open the project directory in VS Code or your preferred IDE.
  3. Run the tests using your preferred test runner or IDE or from terminal, e.g. use any of the below:
    pytest .\tests\test_selenium_web_form.py
    pytest -m selenium
    pytest -m selenium_pom --html=results.html
    pytest -m selenium_parallel -n auto --html=report.html

Tech

  • python 3.12
  • selenium 4
  • pytest 8

YT channel

Please check my YouTube channel for step by step implementation or detailed tutorials on automation and more: https://www.youtube.com/@TechWithAlexDuta

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Selenium WebDriver tutorials with python and pytest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages