Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

enhancement : Add onboarding validation command (webwright doctor)

オープン
#21 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
playwright, python

調査の方向性

@app.command() で示されている CLI 統合ポイントから始め、提案されている webwright/run/doctor.py モジュールと CHECKS 構造を確認します。名前付きの環境、Playwright、設定、ランタイムのチェックを実装し、webwright doctor がセットアップの問題に対する実行可能な修正方法とともに pass/fail の結果を報告するようにします。

索引モデルが issue の本文から書いたものです。

説明

Add webwright doctor onboarding validation command

Summary

Add a webwright doctor CLI command that validates local environment setup and provides actionable fixes for common onboarding/runtime issues.


Current State

Webwright setup currently requires multiple manual steps:

  • Python environment setup
  • Playwright installation
  • Chromium browser installation
  • Claude/Codex plugin setup
  • API key configuration
  • Browser runtime validation

When something is misconfigured, failures often happen later during runtime with limited debugging guidance.

Examples:

  • Missing Chromium binaries
  • Playwright not installed
  • Missing API keys
  • Plugin manifest/configuration issues
  • Screenshot permission failures

This creates onboarding friction for new contributors and users.


Desired State

Provide a command:

webwright doctor

that validates the local environment before runtime.

Example output:

Webwright Doctor

[PASS] Python 3.11 detected
[PASS] playwright installed
[FAIL] Chromium missing
       Fix: playwright install chromium

[PASS] OPENAI_API_KEY detected
[FAIL] Claude plugin manifest missing

4/6 checks passed

Proposed Checks

Environment
  • Python version compatibility
  • Required package availability
  • Writable directories
Playwright
  • Playwright installation
  • Chromium/browser availability
  • Headless launch validation
Configuration
  • API key detection
  • Plugin manifest detection
  • Environment variable validation
Runtime Validation
  • Launch browser
  • Open simple webpage
  • Capture screenshot successfully

Proposed Implementation

New Module
webwright/run/doctor.py
CLI Integration
@app.command()
def doctor():
    run_doctor()
Suggested Structure
CHECKS = [
    check_python,
    check_playwright,
    check_chromium,
    check_api_keys,
    check_plugins,
    check_screenshot,
]
Optional Enhancements
  • --verbose
  • --fix
  • JSON output mode
  • CI compatibility

Benefits

  • Easier onboarding
  • Better contributor experience
  • Faster debugging
  • Fewer duplicate setup issues
  • Reduced maintainer support burden

Scope

This should be relatively self-contained and beginner/intermediate contributor friendly.

主要言語
Python
スター
6k
フォーク
385
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/Webwright のほかの issue

microsoft/Webwright の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。