Skip to main content
Glama

Limetest MCP Server

by m2rads

石灰测试

Limetest 是最轻量级的端到端测试框架,具备 AI 功能,可在您的 CI 工作流程中运行。您可以使用自然语言定义测试用例,并让 AI 负责执行。

主要特点

  • 针对 AI 进行优化:用通俗易懂的语言定义您的测试用例,并让 AI 端到端执行它们。
  • 轻量且高效:利用 Playwright 快照而不是像素分析来实现更快、更可靠的执行。
  • 视觉功能:当快照模式在更复杂的测试场景中失败时,将恢复到视觉模式。

安装

npm install @limetest/limetest npx playwright install

用户数据目录

limtest 将使用新的配置文件启动 Chrome 浏览器,位于

- `%USERPROFILE%\AppData\Local\ms-limetest\mcp-chrome-profile` on Windows - `~/Library/Caches/ms-limetest/mcp-chrome-profile` on macOS - `~/.cache/ms-limetest/mcp-chrome-profile` on Linux

用法

运行测试

使用 --headless 在 CI 工作流中无头运行测试

npx limetest example

limetest MCP 服务器

https://github.com/user-attachments/assets/b801f239-dc66-4b3b-bcf2-42e2a9a68721

Playwright提供支持的模型上下文协议 (MCP) 服务器,可简化 MCP 客户端的端到端测试。

用例

  • 由法学硕士 (LLM) 规划和执行的自动化测试

示例配置

克隆此 repo 后,构建并将 E2E MCP 服务器添加到您的 MCP 客户端,如下所示:请注意,您需要 OpenAI API 密钥才能在端到端模式下运行此 MCP 服务器。

npm install @limetest/mcp npx playwright install

然后:

{ "mcpServers": { "limetest": { "command": "npx", "args": [ "npx @limetest/mcp", "--api-key=<your openai api key>" ] } } }

所有登录信息都将存储在该配置文件中,如果您想清除离线状态,可以在会话之间将其删除。

致谢

Limetest 基于微软的 Playwright MCP ,并针对作为独立框架的自动化端到端测试进行了优化。该项目遵循 Apache 2.0 许可证。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

模型上下文协议服务器使用 Playwright 的可访问性树而不是基于像素的输入来实现 LLM 的自动端到端测试。

  1. 主要特点
    1. 安装
      1. 用户数据目录
    2. 用法
      1. 运行测试
    3. limetest MCP 服务器
      1. 用例
      2. 示例配置
    4. 致谢

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
        Last updated -
        13
        10,911
        3,915
        TypeScript
        MIT License
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.
        Last updated -
        3
        Python
        Apache 2.0
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots without requiring screenshots or vision models.
        Last updated -
        21
        90,660
        TypeScript
        Apache 2.0
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots, providing browser automation capabilities without requiring screenshots or visually-tuned models.
        Last updated -
        TypeScript
        Apache 2.0
        • Apple
        • Linux

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/m2rads/limetest'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server