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

@mseep/playwright-flow-tester

v1.0.0

Published

🎭 The Ultimate UI/UX Testing Suite with MCP Integration - Transform your testing workflow with AI-powered automation, comprehensive logging, and seamless MCP integration

Readme

🎭 Playwright Flow Tester

The Ultimate UI/UX Testing Suite with MCP Integration

Playwright MCP Python Docker License

Transform your testing workflow with AI-powered automation, comprehensive logging, and seamless MCP integration.


✨ Why Choose Playwright Flow Tester?

| Feature | Traditional Testing | Our Solution | |---------|-------------------|--------------| | Screenshots | Last 3 steps only | 🎯 20+ configurable buffers | | Debug Info | Basic logs | πŸ” Performance metrics + Network analysis | | Integration | Manual setup | πŸ€– MCP-native with Claude Code/Cursor | | Artifacts | File system only | πŸ“¦ Streaming + Export + Caching | | Dependencies | Multiple APIs | 🚫 Zero external dependencies |


πŸš€ Quick Start (2 minutes)

# 1. Clone & Build
git clone https://github.com/sadiuysal/flow-tester.git
cd flow-tester
docker build -t flow-tester-agent:latest flow_tester_agent/

# 2. Configure MCP (copy templates)
cp .cursor/mcp.json.template .cursor/mcp.json
cp .mcp.json.template .mcp.json
cp .claude/settings.local.json.template .claude/settings.local.json

# 3. Test Integration
./test-mcp.sh

πŸŽ‰ That's it! Restart your editor and access 12 powerful MCP tools.


πŸ› οΈ 12 Powerful MCP Tools at Your Fingertips

πŸ§ͺ Core Testing

  • execute_enhanced_ui_flow - Run comprehensive UI flows with 20+ screenshot buffers
  • create_flow_template - Generate templates for login, ecommerce, forms
  • validate_flow_definition - Validate flows before execution

πŸ“Š Artifact Management

  • get_artifacts - Retrieve traces, videos, screenshots with metadata
  • list_artifacts - Filter and paginate through artifacts
  • export_artifacts - Export in ZIP, JSON, HTML formats
  • stream_artifact - Efficient streaming for large files

πŸ” Debug & Analysis

  • get_execution_logs - Detailed step-by-step execution logs
  • get_debug_context - Performance metrics, element states, network data
  • get_cache_stats - Monitor caching performance
  • cleanup_artifacts - Intelligent retention policies

🎯 Perfect For

| πŸ‘¨β€οΏ½οΏ½ Developers | πŸ§ͺ QA Engineers | πŸš€ DevOps Teams | πŸ€– AI Enthusiasts | |---------------------|---------------------|---------------------|----------------------| | Automated testing in CI/CD | Complex user flow validation | Infrastructure testing | MCP integration | | Performance monitoring | Visual regression testing | Cross-browser testing | AI-powered workflows | | Debug information | Artifact management | Scalable testing | Claude Code integration |


πŸ”₯ Key Features That Set Us Apart

πŸ“Έ Enhanced Screenshot Buffers

// Traditional: Only last 3 screenshots
// Our Solution: Configurable 20+ screenshots with metadata
const { snap } = withScreenRing(25); // Customize buffer size
await snap(page, 'user-login-attempt');
await snap(page, 'form-validation-error');
await snap(page, 'success-state');
// ... 22 more screenshots available!

πŸ“Š Comprehensive Debug Context

  • Performance Metrics: Core Web Vitals, load times, memory usage
  • Element States: Visibility, attributes, dimensions, position tracking
  • Network Analysis: Request/response patterns, error detection
  • Memory Monitoring: Usage patterns and optimization insights

πŸ€– MCP-Native Integration

  • Zero Setup: Works immediately with Claude Code, Cursor, VS Code
  • Real-time Access: Direct artifact access without file system mounting
  • Streaming Support: Efficient handling of large artifacts
  • Intelligent Caching: Configurable retention and compression

πŸ—οΈ Architecture Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    MCP Client (Claude/Cursor)              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Playwright Flow Tester Agent                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚   Enhanced      β”‚ β”‚   Artifact      β”‚ β”‚   MCP        β”‚ β”‚
β”‚  β”‚   Logging       β”‚ β”‚   Manager       β”‚ β”‚   Server     β”‚ β”‚
β”‚  β”‚   (20+ buffers) β”‚ β”‚   (Streaming)   β”‚ β”‚   (12 tools) β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Playwright Engine                        β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚  Chromium  β”‚ β”‚   Firefox   β”‚ β”‚      WebKit         β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“š Documentation & Resources

| Resource | Description | Link | |----------|-------------|------| | πŸš€ Quick Start | Get running in 2 minutes | SETUP.md | | πŸ“– Usage Guide | Comprehensive API reference | USAGE.md | | πŸ”’ Security Audit | Complete security analysis | SECURITY_AUDIT.md | | πŸ‘¨β€πŸ’» Development | Contributing guidelines | CLAUDE.md |


🌟 Real-World Use Cases

E-commerce Testing

// Test complete purchase flow with enhanced logging
await execute_enhanced_ui_flow({
  name: "purchase-flow",
  actions: [
    { type: "navigate", url: "/products" },
    { type: "click", selector: "[data-testid='add-to-cart']" },
    { type: "navigate", url: "/checkout" },
    { type: "fill", selector: "#email", value: "[email protected]" },
    { type: "click", selector: "[data-testid='complete-purchase']" }
  ],
  enhanced_logging: { screenshot_buffer_size: 25 }
});

Form Validation Testing

// Comprehensive form testing with debug context
await execute_enhanced_ui_flow({
  name: "registration-form",
  actions: [
    { type: "navigate", url: "/register" },
    { type: "fill", selector: "#username", value: "testuser" },
    { type: "fill", selector: "#email", value: "invalid-email" },
    { type: "click", selector: "#submit" }
  ],
  enhanced_logging: { 
    collect_performance_metrics: true,
    collect_element_states: true 
  }
});

πŸš€ Performance & Scalability

  • ⚑ Fast Execution: Optimized Playwright workflows
  • πŸ”„ Parallel Testing: Support for multiple concurrent flows
  • πŸ’Ύ Smart Caching: Configurable artifact retention
  • 🌐 Cross-Platform: Works on Windows, macOS, Linux
  • 🐳 Docker Ready: Consistent environment across deployments

οΏ½οΏ½ Community & Support

  • πŸ“– Comprehensive Docs: Setup guides, examples, troubleshooting
  • πŸ”§ Active Development: Regular updates and improvements
  • πŸ› Issue Tracking: GitHub issues for bug reports and feature requests
  • πŸ’‘ Examples: Real-world use cases and templates
  • πŸ”’ Security Focus: Regular security audits and updates

πŸ“Š Project Stats & Metrics

| Metric | Value | Status | |--------|-------|--------| | MCP Tools | 12 | βœ… Complete | | Screenshot Buffers | 20+ | βœ… Configurable | | Browser Support | 3 | βœ… Chromium, Firefox, WebKit | | Artifact Formats | 4 | βœ… ZIP, JSON, HTML, Streaming | | Dependencies | 0 | βœ… Zero external APIs |


🎯 Getting Started Today

  1. πŸš€ Quick Start Guide - Get running in 2 minutes
  2. πŸ“– Usage Examples - Learn the API
  3. πŸ”§ Configuration - Set up MCP integration
  4. πŸ§ͺ Test Examples - See real-world usage

οΏ½οΏ½ Star This Repository

If Playwright Flow Tester helps you build better software, please give us a ⭐ star! It helps with visibility and motivates us to keep improving.


πŸ“„ License

MIT License - see LICENSE file for details.


πŸ™ Acknowledgments


🎭 Built with ❀️ for developers who demand excellence in testing

Get Started Now β†’