跳到正文
TakoAPI
返回技能列表

playwright-mcp

由 spiceman161 提供

Web & Frontend Development
23.0k下载量由 clawskills.sh 提供
88星标
18浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Browser automation via Playwright MCP server.

描述

该技能的功能

Runs a Playwright MCP server so your agent can control a real browser. It handles navigation, clicking, form filling, text extraction, and JavaScript execution across Chromium, Firefox, and WebKit.

何时使用

  • Scraping data from JavaScript-heavy pages that don't have an API
  • Filling out web forms and submitting them on behalf of the user
  • Checking if a deployed site loads and behaves correctly after changes
  • Pulling text or table data from behind-login pages
  • Taking screenshots of web pages for reports or monitoring

示例工作流

输入

User asks: "Log into staging and check if the dashboard loads"

智能体
  1. 1

    Starts the Playwright MCP server with Chromium

  2. 2

    Navigates to the login page

  3. 3

    Types credentials into the username and password fields

  4. 4

    Clicks the submit button

  5. 5

    Takes a snapshot of the dashboard to verify it loaded

输出

Dashboard loaded with all widgets visible, no errors on page

安装

clawhub install spiceman161/playwright-mcp

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接