A command line tool for agents to operate browsers

keepamovin1 pts0 comments

GitHub - DO-SAY-GO/web-cli: Public WebCLI release artifacts · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

DO-SAY-GO

web-cli

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>5 Commits<br>5 Commits

README.md

README.md

View all files

Repository files navigation

WebCLI Releases

Public release artifacts for WebCLI are published here by the private source tree release workflow.

see more: https://webcli.sh

Install:

curl -fsSL https://webcli.sh/install.sh | bash

Windows PowerShell:

irm https://webcli.sh/install.ps1 | iex

Release assets are immutable per tag and include SHA256SUMS.txt.

Claude Fable told me to put this here: rVEtFlb2oFA I guess so it could be found!

Overview

web --help :

] [--frame ]<br>web (no command — opens an interactive REPL)

Core commands:<br>go Navigate or move through history. --new opens in a new tab.<br>inspect List numbered actions on the page. can be a ref number, visible text, or a selector: prefix.<br>do Run a numbered action. is a ref number (3), visible text (Submit), or selector: prefix.<br>click Click a matched element. is a ref number, visible text (e.g. Issues, Submit), or selector: prefix. Bare numbers are refs; use text: to match a numeric label. Omit query with --coords to click at absolute page coordinates.<br>type Type into a field. -t / --target accepts a text label or CSS selector.<br>read Read page text or a target region.<br>status Show session and page state.<br>find Find matching elements or tabs. is visible text (e.g. Submit, Issues), a ref number, or a selector: prefix. Returns a numbered ref sheet — text matches may return multiple results; act on the ref if unambiguous, or use --all to see every match.<br>form List visible form fields.<br>submit Submit the nearest form.<br>press Send a key press.<br>keydown Hold a key down without releasing.<br>keyup Release a held key. Pairs with keydown.<br>pointerdown Press pointer down without releasing (starts drag or long-press).<br>pointermove Move pointer while held (continues drag).<br>pointerup Release pointer (ends drag or long-press). Pairs with pointerdown.<br>say Paste text into the focused element. Click to focus first if needed.<br>clear Clear an editable target.<br>choose Choose a native select option.<br>switch Switch tabs or frames. Both 'web switch tab N' and 'web tab switch N' are accepted.<br>tab Manage tabs.<br>frame Manage frames.<br>profiles Manage profiles. A profile is a named directory holding browsing data and daemon state. Ephemeral profiles start fresh each session. Named profiles persist across sessions. Temporary profiles are named but self-destruct on 'web quit'. The user-default profile copies your real browser's cookies and sessions for sites that need established trust.<br>scroll Scroll the page or bring a match into view. is a ref number or visible text. Bare numbers are refs; use text: to match numeric labels.<br>back Go back in history.<br>forward Go forward in history.<br>reload Reload the tab.<br>quit Stop the local browser session (or all/specific profiles). Temporary profiles are deleted on quit.

Handoff commands:<br>human-drives Hand browser control to a human.<br>agent-drives Return control to the agent.<br>pause Record a human checkpoint.<br>resume Reconnect to the current session.

Configure commands:<br>use Choose the active browser.<br>set Enable a sticky setting.<br>unset Disable a sticky setting.<br>get Show sticky settings.<br>teach Write the skill file into agent directories.<br>agents-md Print agent instructions.<br>skill-md Print the skill sheet.

Advanced commands:<br>resize Resize the browser window (e.g. 1280x800).<br>stop Stop the in-flight page load.<br>reveal Scroll a ref or match into view. Bare numbers are refs; use text: for numeric text.<br>search Search the web.<br>wait Wait for a page condition.<br>snap Take a screenshot and save to a file (default: screenshot.png).<br>observe Return a one-shot page snapshot.<br>refs Show saved refs.<br>last Show the latest refs.<br>focus Focus a target.<br>caret Move the caret.<br>select-text Select a text range.<br>hover Hover a target.<br>options List native...

text page search session profiles webcli

Related Articles