Open7
playwrightについて調べた事

#インストール
VS CodeのExtentionをインストール

コマンドからインストール
npm init playwright@latest
コマンドからインストール(pip)
pip install playwright
playwright install
playwright --version
プロジェクト作成
npm init playwright@latest app1

ブラウザのインストール
npm i -D @playwright/test

ブラウザで操作の記録
npx playwright codegen wikipedia.org
生成コードの出力先指定
npx playwright codegen wikipedia.org -o wikipedia.py
テストコード生成(python)
playwright codegen wikipedia.org -o wikipedia.py

テスト実行
npx playwright test
ヘッドレスト実行
npx playwright test --headed
1ファイルしてして実行
npx playwright test tests/todo-page.spec.ts
並行実行
npx playwright test --workers=1

pip install pytest
pip install pytest-playeright
Trace Viewer
Allure