← Back to Skills Marketplace
spiceman161

Playwright Browser Automation

by Spiceman161 · GitHub ↗ · v2.0.0
linuxdarwinwin32 ⚠ suspicious
9518
Downloads
10
Stars
71
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
Use this only if you need direct Playwright automation. Avoid installing the suggested sudoers rule; run any required Playwright dependency installation manually, review it first, and remove any temporary elevation afterward. Treat screenshots, recordings, downloads, cookies, and storageState files as sensitive because they may contain account data or session tokens.
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 Playwright capabilities, including navigation, form interaction, screenshots, PDFs, video recording, file upload/download, DOM evaluation, cookies, localStorage, and storageState reuse, fit the stated browser automation purpose.
Instruction Scope
The skill clearly documents powerful browser automation patterns, including credentialed sessions and stored auth state, but gives little guidance on consent, sensitive-page handling, artifact storage, or cleanup.
Install Mechanism
The install guidance includes a sudoers snippet granting NOPASSWD access to /usr/bin/npx playwright install-deps * and /usr/bin/npx playwright install *, which is broader and more persistent than a normal one-time Playwright setup step.
Credentials
Root-level dependency installation can be needed for Playwright on Linux, but allowing future passwordless npx-driven installs is disproportionate for a general browser automation skill unless tightly controlled by the user.
Persistence & Privilege
The sudoers configuration persists beyond the skill run and grants recurring elevated authority; storageState examples can also persist authenticated browser 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 316
Active Installs 71
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 9518 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