Skip to main content

Module browser

Module browser 

Source
Expand description

Chrome one-shot session: launch, actions, reap. One-shot browser session: launch-only + actions + reap (PR3–PR6).

PROHIBITED on this path: ensure_daemon, connect_cdp, multi-process session. Refs live only inside this process; multi-step scripts share one session via run.

Method-level docs are expanded over time; clap and skill surfaces document agent usage.

Structs§

CaptureOpts
Capture toggles for process-local console/network buffers.
OneShotSession
Headless Chrome session owned by a single CLI invocation (or one run script).

Functions§

block_on_browser
Block on tokio multi-thread runtime for one-shot browser work.
block_on_browser_timeout
Like block_on_browser, but abort with ErrorKind::Timeout when timeout_secs > 0.
run_goto
run_goto_capture
run_goto_with_robots
run_keys
run_press
run_scrape
run_type
run_view
run_with_session
run_write
tree_to_at_refs
Rewrite native [ref=eN] markers to agent-facing [@eN].