pub enum Commands {
Show 69 variants
InstallChromium {
update: bool,
},
Certify {
action: CertifyCommand,
},
Capabilities,
Daemon {
action: DaemonCommand,
},
Doctor {
json: bool,
},
McpConfig {
client: McpClient,
print: bool,
},
Profiles {
action: Option<ProfileCommand>,
},
Knowledge {
action: KnowledgeCommand,
},
Result {
action: ResultCommand,
},
DeleteProfile {
name: String,
},
Navigate {
url: String,
timeout_ms: u64,
expected_revision: Option<u64>,
},
Click {
target: String,
expected_revision: Option<u64>,
},
Preflight {
target: String,
action: PreflightAction,
},
ClickAt {
x: f64,
y: f64,
},
ClickExpectPopup {
target: String,
expected_revision: Option<u64>,
},
DoubleClick {
target: String,
expected_revision: Option<u64>,
},
Hover {
target: String,
},
Drag {
source: String,
destination: String,
expected_revision: Option<u64>,
},
Type {
text: String,
target: Option<String>,
expected_revision: Option<u64>,
},
Key {
key: String,
expected_revision: Option<u64>,
},
KeyDown {
key: String,
expected_revision: Option<u64>,
},
KeyUp {
key: String,
expected_revision: Option<u64>,
},
Shortcut {
shortcut: String,
expected_revision: Option<u64>,
},
Clear {
target: String,
expected_revision: Option<u64>,
},
Check {
target: String,
expected_revision: Option<u64>,
},
Uncheck {
target: String,
expected_revision: Option<u64>,
},
Select {
target: String,
value: String,
expected_revision: Option<u64>,
},
Upload {
target: String,
files: Vec<PathBuf>,
expected_revision: Option<u64>,
},
Screenshot {
output: String,
format: VisualFormat,
quality: Option<u8>,
scale: f64,
full_page: bool,
clip: Option<VisualClip>,
target: Option<String>,
},
Text,
Dom,
Observe {
deep_dom: bool,
screenshot: bool,
form_values: bool,
semantic_level: Option<String>,
region: Option<String>,
},
InspectPage,
FindTarget {
input: PathBuf,
},
ActAndVerify {
input: PathBuf,
predicate: Option<String>,
timeout_ms: u64,
},
ExtractStructured {
input: PathBuf,
},
RecoverRun {
execution_id: String,
},
Scroll {
dx: f64,
dy: f64,
expected_revision: Option<u64>,
},
Wait {
condition: String,
timeout_ms: u64,
},
Diagnostics {
duration_ms: u64,
},
AcceptDialog,
DismissDialog,
DismissConsent,
Download {
destination: PathBuf,
timeout_ms: u64,
},
Targets,
NewTarget {
url: String,
},
SelectTarget {
id: String,
},
CloseTarget {
id: String,
},
Frames,
SelectFrame {
id: String,
},
Evaluate {
expression: String,
},
Cookies,
ExportCookies {
output: PathBuf,
},
ImportCookies {
input: PathBuf,
},
Pdf {
output: String,
background: bool,
},
FillForm {
fields: String,
expected_revision: Option<u64>,
},
Batch {
input: Option<PathBuf>,
atomic: bool,
mode: BatchMode,
expected_revision: Option<u64>,
},
Workflow {
action: Option<WorkflowAuthoringCommand>,
input: Option<PathBuf>,
},
WorkflowResume {
workflow: PathBuf,
checkpoint: PathBuf,
inputs: Option<PathBuf>,
},
ResolveIntent {
input: Option<PathBuf>,
},
ExecuteIntent {
input: Option<PathBuf>,
},
Verify {
predicate: String,
timeout_ms: u64,
},
ReconcileRefs {
from_revision: u64,
hints: Vec<String>,
scope: Option<String>,
refs: Vec<String>,
},
ObserveDelta,
Checkpoint {
action: CheckpointCommand,
},
Snapshot {
action: SnapshotCommand,
},
ClipboardRead,
ClipboardWrite {
text: String,
},
Tui,
}Variants§
InstallChromium
Download and install a managed Chrome for Testing build.
Certify
Evaluate release evidence and forbidden outcomes without starting a browser.
Fields
action: CertifyCommandCapabilities
Print the versioned Glass capability manifest without starting Chrome.
Daemon
Start, inspect, stop, or diagnose the local Unix-socket daemon.
Fields
action: DaemonCommandDoctor
Inspect local browser, daemon, profile, policy, and store health.
McpConfig
Print deterministic MCP configuration for a supported client.
Profiles
List or manage saved profiles.
Fields
action: Option<ProfileCommand>Knowledge
Inspect and manage the bounded local knowledge store.
Fields
action: KnowledgeCommandResult
Inspect and purge bounded local diagnostic result artifacts.
Fields
action: ResultCommandDeleteProfile
Delete a saved profile.
Navigate to a URL.
Click
Click an element by an explicit ref/name/role/text/CSS/ordinal locator.
Preflight
Resolve a target and report clickability without performing an action.
ClickAt
Click exact viewport coordinates for canvas/map surfaces.
ClickExpectPopup
Click an element expected to open exactly one causally verified popup.
DoubleClick
Double-click an element by an explicit ref/name/role/text/CSS/ordinal locator.
Hover
Move the pointer over an element without clicking.
Drag
Drag one element to another uniquely resolved element.
Type
Type text into the focused element, optionally clicking a target first.
Key
Dispatch one complete key press.
KeyDown
Dispatch only a key-down event.
KeyUp
Dispatch only a key-up event.
Shortcut
Dispatch a modifier shortcut such as Control+A.
Clear
Clear an editable element.
Check
Ensure a checkbox or radio is checked.
Uncheck
Ensure a checkbox is unchecked.
Select
Select one exact option value.
Upload
Set a bounded list of regular files on one file input.
Screenshot
Capture a PNG screenshot.
Text
Print the visible page text.
Dom
Print the full DOM tree. This is an explicit deep-inspection request.
Observe
Print compact accessibility and text context.
Fields
InspectPage
Capture the bounded task-oriented page inspection contract.
FindTarget
Resolve target candidates without acting.
ActAndVerify
Run one guarded semantic action and verify an optional postcondition.
ExtractStructured
Extract typed records from a fresh semantic region.
RecoverRun
Recover a potentially indeterminate execution conservatively.
Scroll
Scroll the page by CSS pixels.
Wait
Wait for one explicit browser condition until a bounded deadline.
Diagnostics
Collect bounded, redacted console and network evidence.
AcceptDialog
Accept the currently open JavaScript dialog.
DismissDialog
Dismiss the currently open JavaScript dialog.
DismissConsent
Dismiss a recognized OneTrust/Cookiebot consent wall.
Download
Wait for one download into an authorized existing directory.
Targets
List discoverable page targets without changing the active target.
NewTarget
Create a page target without selecting it.
SelectTarget
Explicitly select the page target used by subsequent commands.
CloseTarget
Close one page target.
Frames
List frames in the active page target.
SelectFrame
Explicitly select the frame used by subsequent commands.
Evaluate
Evaluate JavaScript in the current page.
Cookies
List all browser cookies for the current page.
ExportCookies
Export current browser cookies as bounded JSON.
ImportCookies
Import browser cookies from bounded JSON.
Save the current page as a PDF.
FillForm
Fill multiple form fields from a JSON value.
Fields
Batch
Execute a bounded typed batch from a JSON array or stdin.
Fields
Workflow
Fields
action: Option<WorkflowAuthoringCommand>Offline authoring operation. Omit to execute the workflow.
WorkflowResume
Reconcile a workflow checkpoint and execute only its safe pending suffix.
Fields
ResolveIntent
Resolve a declared intent from JSON or stdin without dispatching it.
ExecuteIntent
Resolve and execute one explicitly selected intent candidate.
Fields
Verify
Evaluate a bounded JSON verification predicate.
ReconcileRefs
Reconcile revisioned references against the current observation.
Fields
ObserveDelta
Report a bounded delta from the last compact observation.
Checkpoint
Export or import a bounded workflow checkpoint.
Fields
action: CheckpointCommandSnapshot
Create, inspect, diff, or purge redacted local session snapshots.
Fields
action: SnapshotCommandClipboardRead
Read text from the system clipboard.
ClipboardWrite
Write text to the system clipboard.
Tui
Launch the interactive TUI.
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more