Maps a single Base RemoteBrowserAction to the computer-use BrowserAction the adapter
executes. Exhaustive over action.Kind; lossless — every Base field that the enriched computer-use
action can carry (selector, coordinates, deltas, text, key, wait) is propagated.
Field-level mapping notes:
click → ClickAction: propagates Selector (preferred when present) AND X/Y so the
adapter can use robust DOM targeting or fall back to a coordinate click — exactly the dual mode the
enriched ClickAction supports.
type → TypeAction: carries Text and the optional focus Selector.
key → KeypressAction: carries the key/combination string.
scroll → ScrollAction: carries Selector (scroll-into-view) AND DeltaX/DeltaY
(delta scroll); the adapter prefers the selector when set.
Maps a single Base RemoteBrowserAction to the computer-use BrowserAction the adapter executes. Exhaustive over
action.Kind; lossless — every Base field that the enriched computer-use action can carry (selector, coordinates, deltas, text, key, wait) is propagated.Field-level mapping notes:
click→ ClickAction: propagatesSelector(preferred when present) ANDX/Yso the adapter can use robust DOM targeting or fall back to a coordinate click — exactly the dual mode the enrichedClickActionsupports.type→ TypeAction: carriesTextand the optional focusSelector.key→ KeypressAction: carries the key/combination string.scroll→ ScrollAction: carriesSelector(scroll-into-view) ANDDeltaX/DeltaY(delta scroll); the adapter prefers the selector when set.navigate→ NavigateAction: carries the URL.back/forward→ GoBackAction/GoForwardAction.wait→ WaitAction: carries the optionalSelector(wait-for-element) AND mapsMs→DurationMs(fixed sleep); the adapter prefers the selector when set.