- Test Automation - How To Use Custom User Agent in Selenium Python or Playwright Python to Avoid Security Bots
- Test Automation - How to Use Dynamic Base URLs with Selenium And Playwright Python in GitHub Actions
- Install scoop
- Install allure commandline by running the following command:
scoop install allure
- Clone the project
- Navigate to the project directory
- Install virtualenv:
py -m pip install --user virtualenv
- Create a virtual environment:
py -m venv env
- Activate the virtual environment:
.\env\Scripts\activate
- Install project dependencies:
poetry install
pytest --browser <firefox/chrome_headless>
When no browser was selected then chrome will be used.
- Run tests:
pytest
- View allure results locally:
allure serve allure-results
pytest --help
isort .
black .