Playwright Scraper Skill for Openclaw

A high-performance web scraping tool powered by Playwright, specifically engineered to bypass Cloudflare and sophisticated anti-bot protections.

itsjustfred
v1.0.0
Feb 23, 2026
1
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install playwright-scraper-skill-1-2-0

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install playwright-scraper-skill-1-2-0 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Playwright Scraper Skill?

The Playwright Scraper Skill is a professional-grade web extraction framework designed for the Openclaw Skills ecosystem. It provides developers with a tiered approach to web scraping, ranging from simple JavaScript-enabled fetches to highly sophisticated stealth operations that mimic human behavior. By leveraging the Playwright library, this skill can navigate complex, dynamic websites that traditional scrapers fail to access.

At its core, the skill focuses on reliability and framework independence. It has been rigorously tested against high-security targets like Discuss.com.hk, achieving a 100% success rate where other tools were blocked. Whether you need a quick data pull or a stealthy operation to bypass advanced bot detection, this skill provides the necessary scripts and configurations to get the job done efficiently within Openclaw Skills.

Playwright Scraper Skill Use Cases

  • Scraping dynamic, JavaScript-heavy websites that require full browser rendering.
  • Bypassing Cloudflare, 403 Forbidden errors, and other high-level anti-bot challenges.
  • Automating the capture of website screenshots and HTML snapshots for visual regression or archival.
  • Extracting structured data from specialized platforms like YouTube and Reddit via integrated sub-skills.
  • Implementing automated research workflows that require data from protected community forums.

How Playwright Scraper Skill Works

  1. The user identifies the target website's protection level and selects the corresponding script (Simple or Stealth).
  2. The skill initializes a Chromium instance via Playwright, applying specific anti-fingerprinting techniques.
  3. For protected sites, the script injects initialization scripts to hide automation markers like navigator.webdriver.
  4. Realistic User-Agents and human-like interaction patterns, such as random delays, are applied to the session.
  5. The browser navigates to the URL, waits for the specified load state or timeout, and extracts the required data.
  6. The skill outputs a structured JSON object containing the URL, page title, content, and execution timing.

Playwright Scraper Skill Setup

To get started with this skill in your environment, follow these installation steps:

# Navigate to the skill directory
cd playwright-scraper-skill

# Install NPM dependencies
npm install

# Install the necessary Chromium browser binaries
npx playwright install chromium

Playwright Scraper Skill Data Schema & Taxonomy

The skill returns data in a clean, structured JSON format. Below is the primary schema for the scraper output:

Property Type Description
url String The final destination URL of the scrape
title String The meta title of the web page
content String The extracted text or HTML content
elapsedSeconds String Total time taken for the scraping operation
screenshot Path (Optional) Path to the generated PNG file in stealth mode

Playwright Scraper Skill Advanced Features

  • Stealth Injection: Uses addInitScript to neutralize bot detection before the page even loads.
  • Environmental Control: Fine-tune scraping via environment variables like HEADLESS=false, WAIT_TIME, and USER_AGENT.
  • Multi-Method Support: Seamlessly switch between built-in web_fetch and dedicated Playwright scripts based on site response.
  • Human Mimicry: Implements random delay logic and scrolling behavior to bypass behavioral analysis bots.
  • Extension Ready: Designed to work alongside other Openclaw Skills such as deep-scraper for specialized media extraction.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*