Playwright w. Pytest
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
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
pytest test_name.py