watch
Monitor web pages in the background for specific text, elements, or value changes. Poll at set intervals to detect when conditions appear, disappear, or change.
Instructions
Keep watching a page in the background — "tell me when the pipeline is green / the Approve button appears / this number changes" — checked every interval_s by the extension. Events are collected, not pushed: action=poll, or a script blocking on "chrome-bridge watch --wait ". Survives extension idling, not a browser restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Watch id | |
| text | No | Text that appears / disappears | |
| since | No | poll: events after this ms timestamp | |
| until | No | Default: change with value_of, else match | |
| action | No | poll = events since a timestamp | add |
| reload | No | Reload before each check, for pages that do not update live | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| selector | No | Element that appears (until=match) or disappears (until=gone) | |
| value_of | No | Element whose text changing fires (until=change) | |
| interval_s | No | Between checks, min 30 | |
| expires_min | No | Give up after |