UNPKG

@hyperbrowser/agent

Version:

Hyperbrowsers Web Agent

11 lines (10 loc) 447 B
/** * Build backend ID maps for DOM traversal and xpath generation */ import type { CDPSession } from "../../cdp"; import { BackendIdMaps } from "./types"; /** * Build maps from backend node IDs to tag names and XPaths * This is essential for enhancing accessibility nodes with DOM information */ export declare function buildBackendIdMaps(session: CDPSession, frameIndex?: number, debug?: boolean, pierce?: boolean): Promise<BackendIdMaps>;