Skip to content

Install

Prerequisites

  • Python 3.10 or newer
  • An API key for your chosen backend: OPENAI_API_KEY, ANTHROPIC_API_KEY, or an OpenRouter key

Standalone install (run the harness directly)

Clone the repository and install the package in editable mode, then install Playwright's Chromium browser:

bash
git clone https://github.com/microsoft/Webwright.git
cd Webwright
pip install -e .
playwright install chromium

Install as a Claude Code plugin

Webwright ships a native Claude Code plugin manifest. After cloning (or without cloning, using the GitHub path):

text
# Add the repo as a plugin marketplace inside Claude Code
/plugin marketplace add microsoft/Webwright

# Install the plugin from that marketplace
/plugin install webwright@webwright

Or point at a local checkout:

text
/plugin marketplace add /absolute/path/to/Webwright
/plugin install webwright@webwright

Restart Claude Code after installation so the plugin and its slash commands are loaded.

Common runtime dependencies are the same regardless of the installation path:

bash
pip install -e .
playwright install chromium

Install as an OpenAI Codex plugin

bash
codex plugin marketplace add microsoft/Webwright
# Then open the plugin browser inside Codex:
codex
/plugins

Install as an OpenClaw skill

bash
openclaw plugins install /absolute/path/to/Webwright
openclaw gateway restart

Verify:

bash
openclaw plugins list | grep webwright
openclaw skills list | grep webwright

Install as a Hermes Agent skill

bash
mkdir -p ~/.hermes/skills
ln -sfn /absolute/path/to/Webwright/skills/webwright ~/.hermes/skills/webwright