1.1 KiB
1.1 KiB
Agent Browser Command Map
Note: Command availability can vary by version. Use
agent-browser helpto confirm.
Safe defaults (typical)
open,click,dblclick,fill,type,press,hover,selectcheck,uncheck,scroll,screenshot,snapshot,closeback,forward,reloadwait,wait --text,wait --url,wait --load networkidleget text,get html,get value,get attr,get title,get urlfind role,find text,find label,find placeholder
Sensitive / explicit approval
eval(arbitrary JS execution)download <selector> <path>(writes to disk)set credentials,cookies,storage(stateful secrets)network route/network requests(traffic interception)set headers,--proxy(traffic manipulation)--allow-file-access(local file access)--executable-path,--args,--cdp(custom runtime control)
Debug and state
trace start/stop,console,errors,highlightstate save,state load(treat state files as sensitive)
Tabs and frames
tab,tab new,tab <n>,tab closeframe <selector>,frame main