Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 721 Bytes

File metadata and controls

35 lines (31 loc) · 721 Bytes

Playwright

  • Install from the Setup section
  • Usage
    • pip
      # install
      pip install --upgrade pip
      pip install playwright
      playwright install
      
      # download new browsers (chromedriver, gecko)
      npx playwright install
      
    • pipx
      # install
      pipx install playwright  # install/upgrade
      cd ~/.local/pipx/venvs/playwright
      
      # inject dependencies manually
      source bin/activate
      playwright install
      deactivate
    • Both
      # generate code via macro
      playwright codegen wikipedia.org
  • If asdf gives you lip
    # No preset version installed for command playwright
    asdf reshim python