Skip to content

azeljkovic/selenium-python-swaglabs

Repository files navigation

selenium-python-swaglabs

This is a sample project with Selenium tests for SwagLabs website.
Tools used for this project are:

Installation

Python: https://www.python.org/downloads/
Selenium Libraries: https://www.selenium.dev/documentation/en/selenium_installation/installing_selenium_libraries/
WebDriver binaries (Chrome): https://www.selenium.dev/documentation/en/webdriver/driver_requirements/#quick-reference
PyTest: https://docs.pytest.org/en/latest/getting-started.html

How to run tests

Tests can be ran using one of the following commands:

pytest - run the whole test suite
pytest ./Tests/test_cart.py - run tests within the specified file
pytest ./Tests/test_cart.py -k 'testAddToCart' - run the specific test

About

Selenium/Python tests for SwagLabs - SauceDemo website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published