Skip to content

arquillos/playwright-python-swag-labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright with Python example

The goal of this repository is to create a minimal POM framework with Python and Playwright.

The tests will browse to the "Swag Labs" testing website (https://www.saucedemo.com/) and will test two workflows:

  • Login
  • Adding an element to the cart

Installation

python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt

Test execution

.\.venv\Scripts\activate
python -m pytest .\tests --headed --slowmo 1000 --screenshot only-on-failure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages