# Better Playwright

> Use this tool when you need to automate browser interactions with enhanced stealth and optimization capabilities. It solves problems related to web scraping, form filling, and browser automation, providing inputs such as URLs and XPath references, and outputs like extracted HTML snapshots and diff-based optimizations. Ideal for AI assistants requiring reliable and efficient browser automation in production workflows.

Canonical page: https://skillsregistry.net/skills/livoras-better-playwright  
JSON: https://api.skillsregistry.net/v1/skills/livoras-better-playwright

## Description

Better Playwright MCP provides enhanced browser automation capabilities through both MCP server and HTTP server modes, built with TypeScript and featuring stealth mode to avoid detection, persistent browser profiles, and intelligent HTML snapshot extraction with diff-based optimization. The implementation uses semantic HTML parsing with XPath references and token limiting (23,000 tokens) to stay within AI context limits, while supporting multi-page management, automatic cleanup, and configurable browser settings including Chrome/Chromium selection and headless operation. Designed for AI assistants that need reliable web scraping, form filling, and browser interaction capabilities with robust snapshot caching and performance optimization for production workflows.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** browser-automation
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/livoras-better-playwright)
- **Repository:** <https://github.com/livoras/better-playwright-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "livoras-better-playwright"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/livoras-better-playwright` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/livoras-better-playwright/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
