docs: clarify browser wait guidance
This commit is contained in:
@@ -193,6 +193,7 @@ Notes:
|
||||
- The arm default timeout is **2 minutes** (clamped to max 2 minutes); pass `timeoutMs` if you need shorter.
|
||||
- `snapshot` defaults to `ai`; `aria` returns an accessibility tree for debugging.
|
||||
- `click`/`type` require `ref` from `snapshot --format ai`; use `evaluate` for rare CSS selector one-offs.
|
||||
- Avoid `wait` by default; use it only in exceptional cases when there is no reliable UI state to wait on.
|
||||
|
||||
## Security & privacy notes
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ Notes:
|
||||
- Uses `browser.controlUrl` unless `controlUrl` is passed explicitly.
|
||||
- `snapshot` defaults to `ai`; use `aria` for the accessibility tree.
|
||||
- `act` requires `ref` from `snapshot --format ai`; use `evaluate` for rare CSS selector needs.
|
||||
- Avoid `act` → `wait` by default; use it only in exceptional cases (no reliable UI state to wait on).
|
||||
|
||||
### `clawdis_canvas`
|
||||
Drive the node Canvas (present, eval, snapshot, A2UI).
|
||||
|
||||
Reference in New Issue
Block a user