GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — playwright-python/ROLLING.md at main · thalissonvs/playwright-python

Expand file tree

/

ROLLING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
23 lines (19 loc) · 856 Bytes
/

ROLLING.md

Copy path

File metadata and controls

23 lines (19 loc) · 856 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Rolling Playwright-Python to the latest Playwright driver

  • 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
  • activate venv: source env/bin/activate
  • install all deps:
    • python -m pip install --upgrade pip
    • pip install -r local-requirements.txt
    • pre-commit install
    • pip install -e .
  • change driver version in setup.py
  • download new driver: python -m build --wheel
  • generate API: ./scripts/update_api.sh
  • commit changes & send PR
  • wait for bots to pass & merge the PR

Fix typing issues with Playwright ToT

  1. cd playwright
  2. API_JSON_MODE=1 node utils/doclint/generateApiJson.js > ../playwright-python/playwright/driver/package/api.json
  3. ./scripts/update_api.sh
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.