← Back to Skills Marketplace
austindixson

Playwright Commander

by austindixson · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
21630
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install playwright-commander
Description
A skill to interact with web browsers using Playwright for advanced UI automation, analysis, and debugging.
README (SKILL.md)

Playwright Commander Skill

Description

This skill provides agents with a powerful interface to programmatically control web browsers using Playwright. It enables advanced UI automation, web content analysis, and debugging capabilities beyond what the default browser tool might offer directly.

Core Functionalities

  • Launch and close browser instances.
  • Navigate to specified URLs.
  • Capture screenshots of web pages.
  • Retrieve HTML content or readable text from pages.
  • Execute custom JavaScript within the browser context.
  • Interact with web elements (click, type, fill forms) using various selectors.
  • Retrieve element attributes or text content.

Usage

This skill is designed for programmatic interaction via exec commands, typically orchestrated by an agent.

# Example: Launch browser and navigate
python3 scripts/playwright_cli.py launch_browser --browser chrome --headless true

# Example: Navigate to URL and take screenshot
python3 scripts/playwright_cli.py navigate --url "https://example.com" --screenshot "path/to/screenshot.png"

# Example: Get page content
python3 scripts/playwright_cli.py get_content --url "https://example.com" --type html

# Example: Click an element
python3 scripts/playwright_cli.py click_element --url "https://example.com" --selector "button.submit"

Prerequisites

  • Playwright Python package (playwright) installed in the skill's virtual environment.
  • Playwright browser binaries installed (playwright install).

Configuration (config.json)

(To be defined if specific configuration beyond default Playwright options is needed.)

Purpose

To give me more granular and robust control over web browser interactions, enabling more complex UI automation, detailed web page analysis, and better troubleshooting capabilities for browser-related issues, especially for the Mac App conversion project.

Usage Guidance
Install only if you want an agent to run Playwright-style browser inspection commands. Use it on trusted sites or test environments, be careful with authenticated pages, and review screenshot output paths before running commands that write files.
Capability Analysis
Type: OpenClaw Skill Name: playwright-commander Version: 1.0.0 The skill is classified as suspicious due to its inherent high-risk capabilities, although these are plausibly aligned with its stated purpose of Playwright-based browser automation. Key indicators include shell scripts (`venv/lib/python3.14/site-packages/playwright/driver/package/bin/*.sh`) that perform system-wide modifications (e.g., installing browser binaries, modifying system package sources) requiring elevated privileges. Additionally, the core Python script (`scripts/playwright_cli.py`) allows navigation to arbitrary URLs and writing screenshots to arbitrary file paths, which could be abused for data overwriting or exfiltration if the agent is compromised. There is no clear evidence of intentional malicious behavior, but the broad system and file access capabilities warrant a 'suspicious' classification.
Capability Assessment
Purpose & Capability
The stated purpose is browser automation, analysis, and debugging. The actual custom script supports launching a fresh Playwright browser, navigating to a user-supplied URL, taking a screenshot, and returning page HTML/text; documentation claims additional click, form, and JavaScript features that are not implemented in the inspected script.
Instruction Scope
Trigger rules are moderately broad for web automation and browser diagnostics, but still related to the skill purpose. The skill should be used only for explicit browser automation or page inspection tasks.
Install Mechanism
The artifact bundles a Python virtual environment with Playwright and pip. Playwright includes standard browser/dependency installation scripts that may use package managers or sudo when explicitly invoked, but the skill does not automatically run those installers.
Credentials
The custom script creates new browser contexts rather than using a persistent local browser profile, and it does not read cookies, tokens, local session stores, or broad local files. Arbitrary URL navigation and screenshot output are expected for this purpose.
Persistence & Privilege
No background worker, startup hook, persistence mechanism, privilege escalation logic, credential handling, or automatic system modification was found in the skill’s own runtime instructions or script.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install playwright-commander
  3. After installation, invoke the skill by name or use /playwright-commander
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Playwright Commander—an advanced tool for UI automation and browser control. - Programmatically launch and close browser instances using Playwright. - Navigate to URLs, capture screenshots, and retrieve HTML or text content. - Execute custom JavaScript and interact with web elements (click, type, fill forms). - Retrieve element attributes or text for analysis and debugging. - Designed for use via CLI exec commands; requires Playwright Python package and installed browsers.
Metadata
Slug playwright-commander
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Playwright Commander?

A skill to interact with web browsers using Playwright for advanced UI automation, analysis, and debugging. It is an AI Agent Skill for Claude Code / OpenClaw, with 21630 downloads so far.

How do I install Playwright Commander?

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

Is Playwright Commander free?

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

Which platforms does Playwright Commander support?

Playwright Commander is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Playwright Commander?

It is built and maintained by austindixson (@austindixson); the current version is v1.0.0.

💬 Comments