browsectl

WebDriver automation CLI for AI-driven browser control. Provides session management, tab control, element interaction, screenshots, batch execution, and an interactive REPL.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "browsectl" with this command: npx skills add yorelog/browserctl

browsectl

CRITICAL: Before doing anything, run browsectl setup to detect installed browsers and auto-download the matching WebDriver binary. Sessions persist to .browsectl/sessions.json across CLI invocations — you do not need to create a new session every time.

WebDriver automation CLI for AI-driven browser control. browsectl provides subcommands for browser session management, tab control, element interaction, screenshots, batch execution, and an interactive REPL.

Installation

npm install -g @yorelog/browsectl
browsectl setup

Skills

Session & Driver Lifecycle

skills/session.md

Session & driver lifecycle management.

CommandDescription
setupDetect browsers and download WebDriver binary
statusShow driver and session status
driver-startStart the WebDriver server
session-createCreate a new browser session
session-listList all active sessions
session-useSwitch the default session
session-deleteDelete a session

Browser Commands

skills/browser.md

Browser interaction commands — navigate, click, type, screenshot, scroll, read state, wait.

CommandDescription
run --type openNavigate to a URL
run --type clickClick a DOM element by CSS selector
run --type fillType text into an input field character by character
run --type pastePaste text via clipboard simulation
run --type screenshotCapture a DOM element to PNG
run --type scrollScroll the page or a specific element
run --type titleGet the current page title
run --type last-message-contentExtract the last message block (chat UIs)
run --type waitWait for a condition (visible, hidden, URL, title, JS)

Tab Management

skills/tabs.md

Tab management — list, create, switch, and close browser tabs.

CommandDescription
tab-listList all open tabs
tab-createOpen a new tab
tab-switchSwitch to a tab by index, alias, or handle
tab-closeClose a tab

Batch Execution

skills/batch.md

Batch execution — run single commands, sequential batches from JSON files, and parallel groups.

CommandDescription
runExecute a single WebDriver command
batchRun a sequence of commands from a JSON file

Selector Syntax

skills/selectors.md

CSS selectors with ::text(/regex/flags) extension for filtering elements by text content.

Interactive REPL

skills/repl.md

Interactive REPL — live command entry, tab-completion, persistent history.

CommandDescription
replStart the interactive REPL

Global CLI Flags

FlagDefaultDescription
--browserchromeBrowser to automate: chrome or edge
--serverhttp://127.0.0.1:9515WebDriver server URL
--chromedriver(auto-detected)Path to WebDriver binary (chromedriver / msedgedriver)
--chrome-binary(auto-detected)Path to browser binary
--user-data-dir~/.browsectl/<browser>-profileBrowser user-data directory
--profile-directoryDefaultBrowser profile directory name
--headlessfalseRun browser in headless mode
--viewport1024,768Viewport size as width,height
--session(default session)Session ID to operate on

Platform Support

OSx64arm64
macOS
Linux
Windows

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Phone agent

Use AI AutoGLM Phone Agent for automated mobile device control. Suitable for tasks requiring mobile phone automation, such as APP automated testing, data col...

Registry SourceRecently Updated
Coding

Hk LeETF

Analyzes Hong Kong leveraged ETFs by evaluating holdings, price deviation, liquidity risks, and provides rebalancing timing, arbitrage opportunities, and ris...

Registry SourceRecently Updated
Coding

client-onboard

Generate a complete client onboarding package from a project description. Creates project brief, tech stack, milestones, folder structure, CLAUDE.md, and a r...

Registry SourceRecently Updated
Coding

workflow-migrate

Migrate N8N/Zapier/Make workflows to production-grade Python or Node.js scripts. Given a workflow description or paste, rewrites automation logic with retry,...

Registry SourceRecently Updated