pabz616 / lapisLazuli

Playwright w. Pytest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lapisLazuli

Playwright w. Pytest

Setup

Set up environment in PyCharm IDE (Professional / Community)
https://www.jetbrains.com/pycharm/download/

If using VS Code: visit https://code.visualstudio.com/docs/python/python-tutorial and follow the instructions

Foundational Requirements

1. Reference documentation: https://playwright.dev/python/docs/intro 
& https://playwright.dev/python/docs/test-assertions

2. Latest Python version - brew install python3 (be sure to create a virtual environment)
3. Latest pytest: pip install pytest
4. pytest-playwright: pip install pytest-playwright
5. Install browsers - playwright install

Test Runs (default is Chromium)

pytest test_name.py

About

Playwright w. Pytest


Languages

Language:Python 100.0%