browser::act
Interact with the page: click (left/right/middle, single or double), hover, type, press, or scroll. Address elements with a [ref=eN] handle from browser::snapshot (or a pick), or raw viewport coordinates.
- actionstringrequired
`click`, `hover`, `type`, `press`, or `scroll`.
- buttonstring
Mouse button for `click`: `left` (default), `right`, or `middle`.
- click_countinteger· uint32min 0
Clicks in the gesture: 2 double-clicks (`click` only, default 1).
- delta_ynumber· double
Scroll distance in pixels; positive scrolls down (`scroll`).
- keystring
Key name for `press`: Enter, Tab, Escape, Backspace, Delete, ArrowUp/Down/Left/Right, Home, End, PageUp, PageDown.
- refstring
Element ref from `browser::snapshot` (`e3`) or `browser::picked` (`p1`). Refs die on navigation; re-snapshot after.
- session_idstringrequired
- textstring
Text to insert (`type`).
- xnumber· double
Viewport x, when acting by coordinates instead of ref.
- ynumber· double
Viewport y, when acting by coordinates instead of ref.
- detailstringrequired
What was done, for the transcript.
- okbooleanrequired