Skip to main content

Module browser_locate

Module browser_locate 

Source
Expand description

POST /api/v1/ui/browser/locate — backs Browser’s locate, and the first half of click_at: what a click at a point of a screenshot would land on, as a reference that click, fill, select and check take (the visual fallback, docs/specs/SPEC_BROWSER_PANE_FORMS_IN_FRAMES_AND_VISUAL_FALLBACK_2026_10_16.md §4.6). The host does the hit test and keeps the reference; srv checks that the pane is the caller’s and turns the screenshot’s pixels into the page’s.

Functions§

handle_ui_browser_locate 🔒
host_body 🔒
The point and the screenshot’s width, checked: the host turns them into the page’s pixels, as it alone knows the page’s width.