- checkout repo:
git clone https://github.com/microsoft/playwright-python - make sure local python is 3.9
- create virtual environment, if don't have one:
python -m venv env
- create virtual environment, if don't have one:
- activate venv:
source env/bin/activate - install all deps:
python -m pip install --upgrade pippip install -r local-requirements.txtpre-commit installpip install -e .
- change driver version in
setup.py - download new driver:
python setup.py bdist_wheel - generate API:
./scripts/update_api.sh - commit changes & send PR
- wait for bots to pass & merge the PR