MCP.so
ログイン

Playwright Testing Framework MCP Server

@lupusludens-se

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

lupusludens-se

Playwright Testing Framework MCP Server について

ai_driven_test_automation_with_playwright_cursor_mcp_server

Playwright Testing Framework MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Playwright Testing Framework MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Playwright Testing Framework?

This project contains UI and API tests for the Zeigo Network Dashboard using Playwright for end-to-end testing. It provides a structured test suite with Page Object Model files, environment-specific configurations, and both CLI and VS Code integration for running tests.

How to use Playwright Testing Framework?

Install Node.js v20 or higher, create a .env file with API_BASE_URL and UI_BASE_URL, then run npm install, npx playwright install, and npm install dotenv. Run tests via VS Code Test Explorer or command line using npx playwright test with various options (headed mode, specific browser, debug, environment-specific). Use the Playwright MCP Server by running npx playwright-mcp in a separate terminal.

Key features of Playwright Testing Framework

  • Cross-browser and cross-platform testing support
  • Multi-language support (TypeScript, JavaScript, Python, .NET, Java)
  • Parallel test execution and built-in debugging tools
  • Page Object Model (POM) structure for maintainable tests
  • Environment-specific test execution (test, preprod)
  • Integration with VS Code Test Explorer and Playwright MCP Server

Use cases of Playwright Testing Framework

  • Automating UI and API tests for the Zeigo Network Dashboard
  • Running regression tests across multiple browsers (Chrome, Safari)
  • Executing tests in CI/CD pipelines with environment variables
  • Debugging tests with headed mode, debug mode, and Codegen
  • Using MCP Servers to enhance testing with up-to-date documentation

よくある質問

1

What are the prerequisites for running tests?

Node.js v20 or higher and a `.env` file with `API_BASE_URL` and `UI_BASE_URL`.

2

Can the Playwright MCP Server run simultaneously with another MCP server?

No, only one MCP Server can run per terminal session. Run them in separate terminals.

3

What test execution options are available?

Tests can be run via VS Code Test Explorer or command line with options for headed mode, specific browser, debug mode, environment-specific (test/preprod), and test name/filtering.

4

What is the purpose of the Playwright MCP Server?

It enhances Playwright capabilities for UI testing. Run it with `npx playwright-mcp`.

5

Where are test files located?

UI tests in `ui-tests/specs/`, API tests in `api-tests/specs/`, with Page Object Model files in `pages/` and utilities in `utils/`.

コメント

「開発者ツール」の他のコンテンツ