RyanCollinsAI

Playwright Personas — Testing skill for Claude Code

Testing community

Multi-account browser automation toolkit on top of @playwright/cli — persistent logins, Google CDP-block bypass, and a Claude Code Skill.

How to install Playwright Personas

This entry records only its repository, not the path inside it, so there is no exact command to give. Open RyanCollinsAI/playwright-personas and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Playwright Personas does

Multi-account browser automation toolkit on top of @playwright/cli — persistent logins, Google CDP-block bypass, and a Claude Code Skill. One-line install for macOS, Linux, Windows.

Alternatives in Testing

  • AI Contribution Skills (Engram) — branch-pr: clean branch and PR workflow 2.5k ★
  • Tlbx — Open-source Agentic Development Environment (ADE) for Codex, Claude Code and other agents 116 ★
  • Cc Chrome Devtools MCP Skill — This skill enables automated Chrome browser testing and performance analysis using the Chrome DevTools Protoco 41 ★

README

playwright-personas

Browser automation that stays logged into every account you give it. Built on top of [@playwright/cli](https://www.npmjs.com/package/@playwright/cli), with a shell wrapper, a Claude Code Skill, and the one trick that gets you past Google's "this browser may not be secure" wall.

pw-login mygmail https://gmail.com    # one-time login, in real Chrome
pw mygmail open https://gmail.com     # daily use, already signed in

That's the whole API.

The thing nobody tells you about Playwright + Google

Try logging into Gmail from a Playwright browser. Google rejects you:

This browser or app may not be secure.

It's not a CAPTCHA. It's not 2FA. Google detects that the browser is being driven via the Chrome DevTools Protocol and refuses to authenticate. There is no user-agent string, no header, no flag that gets you past it.

`pw-login` solves this by logging in once in real Chrome (no CDP), saving the profile to disk, then letting Playwright reuse the saved cookies. The login persists forever. You only ever do it once per account.

Full writeup: [google-login-bypass.md](claude-skill/references/google-login-bypass.md).

Install (one command)

**macOS / Linux:**

curl -fsSL https://raw.githubusercontent.com/RyanCollinsAI/playwright-personas/main/install.sh | bash

**Windows (PowerShell):**

irm https://raw.githubusercontent.com/RyanCollinsAI/playwright-personas/main/install.ps1 | iex

The installer:

  1. Verifies Node.js >= 18 is installed.
  2. Runs npm install -g @playwright/cli.
  3. Downloads Playwright's bundled Chromium.
  4. Clones this repo into ~/.playwright-personas.
  5. Wires pw / pw-login into your shell rc (idempotent — safe to rerun).
  6. Installs the Claude Code Skill into ~/.claude/skills/playwright-personas.
  7. Checks for a real Chrome binary, which pw-login needs. It warns instead of failing if none is found.

Open a new terminal and you're done.

**`pw` collides with a few password-mana