← Back to Skills Marketplace
spiceman161

Playwright Browser Automation

by Spiceman161 · GitHub ↗ · v2.0.0
linuxdarwinwin32 ⚠ suspicious
10547
Downloads
10
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install playwright-browser-automation
Description
Browser automation using Playwright API directly. Navigate websites, interact with elements, extract data, take screenshots, generate PDFs, record videos, and automate complex workflows. More reliable than MCP approach.
Usage Guidance
Install only if you need direct Playwright automation. Do not copy the sudoers NOPASSWD rules; run any required dependency installation manually with administrator approval and remove temporary elevation afterward. Keep screenshots, recordings, downloads, traces, and auth.json or storageState files out of shared folders and source control, and delete them when no longer needed.
Capability Analysis
Type: OpenClaw Skill Name: playwright-browser-automation Version: 2.0.0 The skill bundle is classified as suspicious primarily due to the 'Sudoers Setup' instructions in `SKILL.md`. These instructions advise configuring `sudoers` to allow passwordless execution of `npx playwright install-deps *` and `npx playwright install *`. While presented as a setup step for Playwright, granting NOPASSWD for commands that download and install software is a significant privilege escalation risk, increasing the attack surface if the agent or system is compromised. Other capabilities like network access, file operations (screenshots, downloads, uploads), and arbitrary JavaScript execution via `page.evaluate()` are inherent to browser automation and align with the stated purpose, without explicit malicious intent in the provided examples.
Capability Assessment
Purpose & Capability
The documented browser automation capabilities, including navigation, form actions, screenshots, PDFs, video recording, downloads, DOM evaluation, cookies, localStorage, and storageState reuse, match the stated Playwright automation purpose.
Instruction Scope
The instructions are mostly straightforward examples, but they show handling credentials, session cookies, localStorage tokens, saved auth state, and generated artifacts without much privacy, cleanup, or secret-handling guidance.
Install Mechanism
Normal npm and Playwright browser installation are expected, but the skill also recommends sudoers entries allowing passwordless root execution of wildcard npx Playwright install commands.
Credentials
Root-level dependency installation can be needed for Playwright on some Linux systems, but recurring NOPASSWD access for npx-driven install commands is broader than necessary for a browser automation guide.
Persistence & Privilege
The sudoers configuration would persist beyond a one-time setup and grant future elevated command execution; saved auth state files may also persist reusable sessions on disk.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install playwright-browser-automation
  3. After installation, invoke the skill by name or use /playwright-browser-automation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
Complete rewrite with direct Playwright API, best practices, working examples
Metadata
Slug playwright-browser-automation
Version 2.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Playwright Browser Automation?

Browser automation using Playwright API directly. Navigate websites, interact with elements, extract data, take screenshots, generate PDFs, record videos, and automate complex workflows. More reliable than MCP approach. It is an AI Agent Skill for Claude Code / OpenClaw, with 10547 downloads so far.

How do I install Playwright Browser Automation?

Run "/install playwright-browser-automation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Playwright Browser Automation free?

Yes, Playwright Browser Automation is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Playwright Browser Automation support?

Playwright Browser Automation is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Playwright Browser Automation?

It is built and maintained by Spiceman161 (@spiceman161); the current version is v2.0.0.

💬 Comments