Skip to main content

Module browser

Module browser 

Source
Expand description

Browser pane control.

Modulesยง

granted ๐Ÿ”’
What request_auto_approve tells an agent when its grant is made.

Enumsยง

VaultSource ๐Ÿ”’
fill with vault: srv asks the person where the entry may go, then the host types it. Waits as long as a committing click does for the personโ€™s answer. What comes back says the field was filled, never what it holds. Where a Vault fillโ€™s value comes from.

Constantsยง

LOG_LINES ๐Ÿ”’
How many of the paneโ€™s entries log shows: the newest.
QUICK_DONE_SECS ๐Ÿ”’
A Done this soon after the banner went up may not be the personโ€™s doing on the page: the agent is told to check, since it canโ€™t see who clicked.

Functionsยง

act_result_text ๐Ÿ”’
What a click, fill, select or check tells the agent: the element after it, and for a committing click who let it through. The agent sees neither the approval banner nor a clock (form-filling fixes plan ยง2.5).
approval_text ๐Ÿ”’
srvโ€™s word that a Vault use went ahead because nobody answered the personโ€™s prompt in time, as a sentence to end the answer with; empty when someone did.
browser_capture ๐Ÿ”’
browser_signin ๐Ÿ”’
call ๐Ÿ”’
capture_text ๐Ÿ”’
The agentโ€™s answer to a capture: the entry, never the value.
dialogs_note ๐Ÿ”’
The page dialogs the agentโ€™s panes showed since its last Browser call, as lines to append to a result (SPEC_BROWSER_PANE_NATIVE_DIALOGS_2026_10_17.md ยง6.1); empty when there were none or srv couldnโ€™t say.
dialogs_text ๐Ÿ”’
The dialogs as text. The page wrote their words, so theyโ€™re quoted and marked as the pageโ€™s.
find_report ๐Ÿ”’
What a find tells the agent: the matching lines with their references, or that nothing matched, and what the result leaves out (more matches, frames).
handoff_answer_text ๐Ÿ”’
What the agent reads when its hand-off ends: who answered, after how long (open_secs, from srv), and what to do next.
is_ref_segment ๐Ÿ”’
One part of a reference as snapshots and finds hand them out: e12, a frameโ€™s f1e3, a findโ€™s n2e1. Anything else (Section2) is a name.
key_result_text ๐Ÿ”’
What key tells the agent: what has focus after the keys, and whether they changed anything (forms-filling plan ยง2.2). A date field shows its value only once every part of it is set.
log_text ๐Ÿ”’
The paneโ€™s action log as log returns it: one line per entry, oldest first, time in UTC. The same entries the person sees under Log in the pane.
page_now_text ๐Ÿ”’
Where the page is after an action: its address and title, and that the address is not the one the agent last read when it navigated.
popups_note ๐Ÿ”’
The snapshotโ€™s lines about new windows the page opened: popup windows (kind: "window", a native window, id popup-โ€ฆ) and popup panes (a browser pane beside it). Empty when there are none. Each address is quoted: the page chose it (SPEC_BROWSER_PANE_POPUPS_ADOPTED_2026_10_08.md ยง3.4, SPEC_BROWSER_PANE_NATIVE_POPUPS_AGENT_DRIVEN_2026_10_08.md ยง5).
run_act ๐Ÿ”’
run_capture ๐Ÿ”’
capture: a secret the page shows once goes into the Vault, read by the host.
run_dispatch_key ๐Ÿ”’
run_end_bypass ๐Ÿ”’
run_eval ๐Ÿ”’
run_find ๐Ÿ”’
run_focus_element ๐Ÿ”’
run_focus_info ๐Ÿ”’
run_handoff ๐Ÿ”’
run_history ๐Ÿ”’
run_log ๐Ÿ”’
run_navigate ๐Ÿ”’
run_request_bypass ๐Ÿ”’
run_request_value ๐Ÿ”’
request_value: no Vault entry holds it yet, so the person types it in a prompt and may keep it in the Vault.
run_set_files ๐Ÿ”’
run_signin ๐Ÿ”’
signin: a saved sign-in typed into the pageโ€™s sign-in form, once the person says yes.
run_snapshot ๐Ÿ”’
run_terminal ๐Ÿ”’
run_wait_for ๐Ÿ”’
scope_arg ๐Ÿ”’
Snapshotโ€™s scope: a reference (e12, e4.e1, n2e1), or the element to narrow to by role and name, for a page not read yet. The name form is a string written like a snapshot line, dialog "Edit item" or "Edit item" (an unquoted string that isnโ€™t a reference is a name too), or an object {role, name, exact}.
signin_text ๐Ÿ”’
The agentโ€™s answer to a sign-in: which entry went where, never a value.
terminal_result_text ๐Ÿ”’
What terminal tells the agent: how many keys went in, why it stopped early, and the rows the terminal shows now (page content: untrusted).
vault_fill ๐Ÿ”’
vault_fill_text ๐Ÿ”’
The agentโ€™s answer to a Vault fill: where it went, and anything the page said.
wait_request ๐Ÿ”’
The request for a wait: at most one condition (until_text, until_url, until_gone or until_state), and none means the page settling.
wait_result_text ๐Ÿ”’
What wait tells the agent, naming the iframe the text was found in.