microsoft/playwright

GitHub
https://github.com/microsoft/playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

  • automation
  • chrome
  • chromium
  • e2e-testing
  • electron
  • end-to-end-testing
  • firefox
  • javascript
  • playwright
  • test
  • test-automation
  • testing
  • testing-tools
  • web
  • webkit
Stars:
99.3k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#76 of 401
Top 19% · #19 of 82 TypeScript repos
Checks passed
9 of 17
Full list below
Best set up for
Claude Code
Score 86.7
Needs most work for
OpenHands
Biggest fix: .openhands/setup.sh (+10.0 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts
  2. 2
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +4.7 pts
  3. 3
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +3.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#66 of 401
86.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ~Reproducible dev env
Codex
#77 of 401
83.2
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Kimi Code CLI
#76 of 401
82.9
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Pi
#78 of 401
82.8
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Linter / formatter config
Devin
#102 of 401
77.4
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
Aider
#63 of 401
76.1
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ✓Test suite
Cursor
#76 of 401
75.9
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#80 of 401
74.7
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
OpenHands
#103 of 401
72.5
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env

Does microsoft/playwright have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 9,824 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 9 passed

No .agents/skills/<name>/SKILL.md
Substantive (9,824 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
20 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 34 scripts
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (11,259 characters)
Manageable size· 50% pass
3011 files — large
Test suite· 100% pass
Found /tests
Type configuration· 100% pass
Type config present

How microsoft/playwright compares

vs leaderboard average
12.3 pts above
Average 66.8
vs TypeScript average
7.9 pts above
Average 71.2
Stars among TypeScript repos
#13 of 82

Missing here, and how many repos have it

  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 30% of TypeScript repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 13% of TypeScript repos

One fix for the most agents: Pre-commit / git hooks would raise the score for all 9 agents, by up to 6.0 points.

Similar repos

Same language and host as this repo, closest in overall score.

All TypeScript repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/microsoft/playwright
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/microsoft/playwright.svg)](https://agentfriendlycode.com/repo/github/microsoft/playwright)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.