← Back to Skills Marketplace
spiceman161

Playwright Browser Automation

by Spiceman161 · GitHub ↗ · v2.0.0
linuxdarwinwin32 ⚠ suspicious
10896
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
Review before installing. Do not apply the sudoers instructions, avoid sudo npx, pin Playwright through a project lockfile, and run browser automation in an isolated unprivileged environment. Treat auth.json, recordings, traces, screenshots, downloads, and uploaded local files as sensitive data.
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
⚠ Credentials
The general configuration example disables Chromium sandboxing and bypasses CSP, which is disproportionate for ordinary browser automation unless confined to a clearly isolated test environment.
⚠ Install Mechanism
Installation uses unpinned global npm and npx Playwright commands, including a sudo npx install-deps command, so runtime setup can execute mutable third-party package code with elevated privileges.
⚠ Instruction Scope
The skill documents high-impact browser capabilities including authentication state reuse, video capture, file upload/download, geolocation permission, CSP bypass, and no-sandbox browser launch without enough scoping or user-control guidance.
⚠ Persistence & Privilege
The sudoers example grants persistent passwordless root permission for wildcard npx Playwright install commands, which is overbroad and not necessary for normal use of a browser automation skill.
⚠ Purpose & Capability
Browser automation is a coherent purpose for Playwright examples, but the package also includes a mismatch: SKILL.md presents direct Playwright API use while artifact/examples.py demonstrates conceptual Playwright MCP calls rather than the advertised direct API workflow.
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 10896 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