MCP.so
登录

Playwright Test Automation Framework MCP Server

@GoldiSaini

基本信息

分类

开发工具

传输方式

stdio

作者

GoldiSaini

关于 Playwright Test Automation Framework MCP Server

🎭 Modern E2E Testing Framework | Playwright + TypeScript + MCP Server | Data-Driven POM Architecture | Advanced Test Recording & Playback

Playwright Test Automation Framework MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "playwrightMCP_Demo": {
      "command": "npx",
      "args": [
        "playwright",
        "install"
      ]
    }
  }
}

Playwright Test Automation Framework MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is 🎭 Playwright Test Automation Framework?

A data-driven test automation framework built with Playwright and TypeScript, leveraging the @executeautomation/playwright-mcp-server for enhanced test recording and playback. It uses the Page Object Model design pattern for scalable and maintainable automated testing.

How to use 🎭 Playwright Test Automation Framework?

Clone the repository, install dependencies with npm install, and install Playwright browsers with npx playwright install. Run all tests with npx playwright test; run a specific file with npx playwright test tests/specs/registration.spec.ts; use headed mode with --headed.

Key features of 🎭 Playwright Test Automation Framework

  • 🏗️ Page Object Model architecture for clean test design
  • 📊 Data-driven testing with external test data
  • 🔧 TypeScript support for robust type checking
  • ♻️ Reusable components via base classes
  • 🎥 MCP Server integration for recording and playback
  • 📈 Scalable design for adding new scenarios easily

Use cases of 🎭 Playwright Test Automation Framework

  • Automated UI testing for web applications
  • Data-driven registration and login flow validation
  • Rapid test creation using playback and script generation
  • Maintaining a scalable test suite with centralized locators and data

常见问题

1

How do I set up the framework?

Clone the repository, run `npm install` to install dependencies, then run `npx playwright install` to download Playwright browsers.

2

How do I run tests?

Execute all tests with `npx playwright test`. Run a specific test file using `npx playwright test tests/specs/registration.spec.ts`. Use `--headed` to run tests in headed browser mode.

3

How do I add new test scenarios?

Add a new data object to `tests/data/testData.ts` following the `TestScenario` interface pattern. The test suite will automatically execute for the new scenario.

4

What are the key dependencies?

Playwright, TypeScript, Node.js, `@executeautomation/playwright-mcp-server`, and `@playwright/test`.

5

What programming language does the framework use?

TypeScript, with strong typing and better IDE support.

评论

开发工具 分类下的更多 MCP 服务器