跳到正文
TakoAPI
返回技能列表

playwright-mcp-1-0-0

由 itsjustfred 提供

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

简介

Browser automation via Playwright MCP server.

描述

该技能的功能

Browser automation via the Playwright MCP server. Controls Chrome, Firefox, or WebKit to navigate pages, fill forms, click elements, extract data, and capture screenshots. Works headless or headed across Linux, macOS, and Windows.

Exposes Playwright's full browser control through MCP tools, so agents can automate any browser interaction without custom scripts or extra code.

何时使用

  • Scraping product prices from e-commerce pages
  • Automating login and form submission workflows
  • Extracting table data from web dashboards
  • Taking screenshots of pages for visual checks
  • Testing UI flows without writing test scripts manually

示例工作流

输入

User asks: extract all rows from the data table at https://example.com/data

智能体
  1. 1

    Call browser_navigate with the target URL

  2. 2

    Call browser_evaluate with a script that queries all table rows and returns their text content

  3. 3

    Parse the returned JSON array

  4. 4

    Return the extracted rows to the user

输出

Array of table row strings from the page

安装

clawhub install itsjustfred/playwright-mcp-1-0-0

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

链接