playwright-cli

仓库创建 2025年6月14日最近提交 1 个月前SkillHot 收录 20 天前
▸ 精选理由

便于把浏览器动作封装成可重复的自动化/代理操作。

▸ 风险提示

会驱动浏览器访问外部网站,可能泄露凭证或触发反爬机制。

这个 Skill 做什么

通过 playwright-cli 在命令行自动化浏览器交互与网页测试。

在命令行自动化浏览器操作和网页测试:能打开页面、跳转、点击、输入、按键、截屏或保存快照,方便把交互步骤脚本化。适合快速复现问题、做轻量端到端测试或在终端里调试页面行为。特点是用 CLI 就能执行常见 Playwright 操作,开发迭代和调试效率很高。

▸ 展开 SKILL.md 英文原文

Automate browser interactions, test web pages and work with Playwright tests.

自动化集成浏览器自动化测试CLI通用
313
Stars
56
Forks
20
仓库内 Skill
+5
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/main/.claude/skills/playwright-cli/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/main/.claude/skills/playwright-cli/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Browser Automation with playwright-cli

## Quick start

```bash
# open new browser
playwright-cli open
# navigate to a page
playwright-cli goto https://playwright.dev
# interact with the page using refs from the snapshot
playwright-cli click e15
playwright-cli type "page.click"
playwright-cli press Enter
# take a screenshot (rarely used, as snapshot is more common)
playwright-cli screenshot
# close the browser
playwright-cli close
```

## Commands

### Core

```bash
playwright-cli open
# open and navigate right away
playwright-cli open https://example.com/
playwright-cli goto https://playwright.dev
playwright-cli type "search query"
playwright-cli click e3
playwright-cli dblclick e7
# --su
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有