You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1c50d6f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): preview_act shows each action in the work log and points agents at aria-refs
The beebox preview_act test found two regressions against main. Every
preview_act call showed as "Used the preview browser", and agents guessed
Playwright locators for type and select, because the shared description said
"Prefer a Playwright locator". Action tools now resolve to the labels of the
tool their action replaced, on web and mobile, and the description points at
aria-refs from preview_snapshot.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
"Act on the chosen tab. Prefer a Playwright `locator`; `x` and `y` go together. `timeoutMs` defaults to 15000. click: `button`, `clickCount` 1 to 3. type: literal `text`, `clear=true` replaces it. hover: shows menus or tooltips. select: `values` in one native <select>, by value or label; for a custom dropdown, click it open, then click the option. drag: `source` onto `target`. upload: absolute `paths` answer the file picker `preview_status` reports, [] cancels it, or a `locator` sets an <input type=file>. press: one `key`, such as 'Enter', with `modifiers`. scroll: the tab, or one container with a locator; positive `deltaY` scrolls down, positive `deltaX` right.",
156
+
"Act on the chosen tab. Target with `locator='aria-ref=<ref>'` from `preview_snapshot`; `x` and `y` go together. `timeoutMs` defaults to 15000. click: `button`, `clickCount` 1 to 3. type: literal `text`, `clear=true` replaces it. hover: shows menus or tooltips. select: `values` in one native <select>, by value or label; for a custom dropdown, click it open, then click the option. drag: `source` onto `target`. upload: absolute `paths` answer the file picker `preview_status` reports, [] cancels it, or a `locator` sets an <input type=file>. press: one `key`, such as 'Enter', with `modifiers`, to the focused element; click a field first to focus it. scroll: the tab, or one container with a locator; positive `deltaY` scrolls down, positive `deltaX` right.",
0 commit comments