browserAct controls a gateway-local ephemeral Chromium session.
- Method:
browserAct - Scope:
run:write - Transports: HTTP RPC, WebSocket RPC
{ sessionId, actionId, expectedRevision?, action }; action is a closed union: navigate, history, click, type, press, scroll, or dialog.
Response: { revision, page, outcome }. Replaying actionId returns the original outcome.
Text aimed at sensitive fields (password and other masked inputs) is redacted before it reaches the settled action journal, recentActions, or the browser.activity broadcast. Full type actions are masked, and a press of a single printable key against a sensitive field masks the key the same way; non-printable keys like Enter stay readable.
Errors are versioned as v1 and include InvalidRequest, Unauthorized, Forbidden, REVISION_CONFLICT, SSRF_BLOCKED, QUOTA_EXCEEDED, and Internal.