最終更新:2025-11-12 (水) 12:34:11 (29d)  

npx playwright
Top / npx playwright

  • npx playwright install: Playwrightがサポートする すべてのブラウザ(デフォルト構成) をまとめてインストール
  • npx playwright install-deps?: OSレベルの依存パッケージ(ライブラリ) をインストール
  • npx playwright install chrome?
  • npx playwright install msedge?
  • npx playwright install webkit?

ブラウザ

  • chromium
  • chromium-headless-shell
  • chromium-tip-of-tree-headless-shell
  • chrome
  • chrome-beta
  • msedge
  • msedge-beta
  • msedge-dev
  • bidiChromium
  • firefox
  • webkit
  • webkit-wsl

help

  • Usage: npx playwright install [options] [browser...]
    
    ensure browsers necessary for this version of Playwright are installed
    
    Options:
      --with-deps   install system dependencies for browsers
      --dry-run     do not execute installation, only print information
      --list        prints list of browsers from all playwright installations
      --force       force reinstall of stable browser channels
      --only-shell  only install headless shell when installing chromium
      --no-shell    do not install chromium headless shell
      -h, --help    display help for command
    
    
    Examples:
      - $ install
        Install default browsers.
    
      - $ install chrome firefox
        Install custom browsers, supports chromium, chromium-headless-shell, chromium-tip-of-tree-headless-shell, chrome, chrome-beta, msedge, msedge-beta, msedge-dev, _bidiChromium, firefox, webkit, webkit-wsl.