Skip to content

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
    pipinstall-rrequirements.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.pypytest-mseleniumpytest-mselenium_pom--html=results.htmlpytest-mselenium_parallel-nauto--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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages