Skip to main content

Module scripts

Module scripts 

Source
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_DOM_JS
Serializes the DOM with shadow roots included.
SELECT_ELEMENT_JS
Interactive element picker. Resolves with the selector string for the picked element.