npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@probility/mcp-playwright-automation

v1.0.0

Published

Enterprise-grade Playwright MCP server for automated web testing — run AI-powered browser tests from any MCP-compatible client

Readme

Playwright MCP Automation Tool

A generic, AI-powered automation testing tool that allows teams to define web app test scenarios in natural language or structured JSON and execute them using the Model Context Protocol.

Features

  • Natural Language Selectors: Click buttons and fill fields using their labels, text, or roles (e.g., "Click Login" or "Fill 'Email' with '[email protected]'").
  • Self-Healing Capability: When used with an LLM, the agent can inspect the page state and find alternative ways to complete a step if a selector fails.
  • Generic Scenarios: Easily define multiple scenarios with assertions for any web application.
  • Screenshots: Automatic or manual full-page screenshots for debugging and reporting.

Setup

  1. Install Dependencies:

    npm install
    npx playwright install chromium
  2. Build the Server:

    npm run build
  3. Configure with your LLM (e.g., Claude Desktop): Add the following to your claude_desktop_config.json:

    {
      "mcpServers": {
        "playwright-automation": {
          "command": "node",
          "args": ["/path/to/mcp-playwright-automation/dist/index.js"]
        }
      }
    }

Usage for Organizations

Dev teams can provide a test configuration file like this:

Example test-config.json

{
  "baseUrl": "https://example.com",
  "scenarios": [
    {
      "name": "User Login Flow",
      "steps": [
        "Navigate to /login",
        "Fill field 'Username' with 'testuser'",
        "Fill field 'Password' with 'password123'",
        "Click the 'Sign In' button"
      ],
      "assertions": [
        "URL should contain '/dashboard'",
        "Page should show text 'Welcome back'"
      ]
    }
  ]
}

Running Tests

Once the MCP server is connected to your AI agent, simply give it the configuration file and say:

"Run these automation scenarios using the playwright-automation tool and provide a report."

The AI will:

  1. Initialize the session.
  2. Execute each step sequentially.
  3. Verify assertions.
  4. Take screenshots if errors occur.
  5. Summarize the results.