Python Playwright example with POM Setup py -3.14 -m venv venv venv\Scripts\activate pip install -r requirements.txt playwright install Run tests pytest --headed