Chrome Automation for Linux for Openclaw

A professional-grade Linux server solution for high-definition Chrome automation, stealth browsing, and programmatic web interaction.

kanoha222
v1.0.0
Mar 3, 2026
1
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install chrome-automation

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 chrome-automation 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 Chrome Automation for Linux?

This skill provides a comprehensive framework for running Google Chrome in headless mode specifically optimized for Linux environments. It empowers developers using Openclaw Skills to perform high-resolution 2K screen captures and manage complex web interactions without a physical display. The solution is designed to handle modern web challenges, including headless detection and anti-crawler mechanisms, making it ideal for server-side automation.

By combining the speed of native Chrome headless commands with the power of Playwright and Stealth plugins, this skill offers a dual-mode approach. Whether you need a quick snapshot of a landing page or a complex automated login sequence on platforms like Bilibili or YouTube, this toolset provides the necessary infrastructure and pre-configured environment to succeed.

Chrome Automation for Linux Use Cases

  • Capturing 2K high-definition screenshots of web pages for automated monitoring or reporting.
  • Programmatic form filling and automated login workflows on complex web applications.
  • Bypassing anti-bot and crawler detection systems using Playwright Stealth mode.
  • Automating social media interactions or content verification on platforms like YouTube and Bilibili.
  • Generating full-page web renders in headless server environments.

How Chrome Automation for Linux Works

  1. The skill installs and configures Google Chrome and the necessary virtual display buffers (xvfb) on a Linux host.
  2. It sets up a dedicated Python virtual environment and installs Playwright with Chromium dependencies.
  3. For basic tasks, it invokes the Chrome binary directly with optimized flags for performance and resolution.
  4. For advanced automation, it utilizes a Stealth-enabled Playwright script to mimic human browsing behavior and bypass security checks.
  5. All generated assets, such as screenshots and logs, are programmatically saved to the local workspace for further processing.

Chrome Automation for Linux Setup

To get started with this skill in your environment, run the following installation steps:

# Install Google Chrome and dependencies
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/chrome.deb
sudo apt update && sudo apt install -y /tmp/chrome.deb xvfb

# Setup the Python Playwright environment
sudo apt install -y python3.11-venv
python3 -m venv ~/.playwright-env
source ~/.playwright-env/bin/activate
pip install playwright
playwright install chromium

Chrome Automation for Linux Data Schema & Taxonomy

The skill organizes its automation assets and environment according to the following structure:

Component Path / Detail
Chrome Binary /usr/bin/google-chrome (v145+)
Python Environment ~/.playwright-env/
Workspace Root ~/.openclaw/workspace/
Stealth Logic scripts/playwright_stealth.py
Default Output PNG screenshots saved to workspace
Session Policy Volatile (New session per execution)

Chrome Automation for Linux Advanced Features

  • High-Resolution Rendering: Supports 2K clarity using forced device scale factors and custom window sizes.
  • Stealth Integration: Uses advanced Playwright plugins to bypass headless browser detection.
  • Flexible Interaction: Includes pre-built logic for auto-filling forms and handling submit selectors.
  • Headless Optimization: Configured with --no-sandbox and --disable-gpu flags for maximum compatibility with server-grade Linux.
  • Multi-Mode Execution: Switch between lightweight native Chrome commands and robust script-based automation via Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*