oc_browser_control
Manage a Chrome tab by observing status, verifying page or account conditions, and pausing automation for human input. Resume only with a valid lease and expected URL, ensuring controlled handoff.
Instructions
Observe a managed tab, check caller-supplied page/account conditions, or pause automatic input for explicit human control. Wait for phase=human before typing; this drains tracked tool handlers, not page timers or background requests. Resume requires the returned lease and expected URL. No automatic visible-browser restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lease | No | Lease returned by pause; required for explicit resume. | |
| tabId | Yes | REQUIRED Managed target ID. | |
| action | Yes | REQUIRED Control action. | |
| reveal | No | Explicitly bring a visible browser tab forward after input has drained. Headless requires an operator-controlled restart instead. | |
| selector | No | Optional CSS selector that must resolve to a visible element in the current page. | |
| expectedUrl | No | Exact URL required for verify/resume. Query and fragment are compared but not echoed. | |
| expectedText | No | Optional exact trimmed text of the selected account/status element. |