Expand description
JavaScript payloads injected into the browser by MCP tools.
Constantsยง
- FETCH_
JS - Performs a fetch from the page context. Receives JSON-string args.
- GET_
CLIP_ RECT_ JS - Resolves a selector to a clip rectangle in document coordinates,
scrolling the element into view first. Returns
nullwhen the selector matches nothing or the element has zero area (hidden / detached). - GET_
DOM_ JS - Serializes the DOM with shadow roots included.
- SELECT_
ELEMENT_ JS - Interactive element picker. Resolves with the selector string for the picked element.