rabbit-browser
Version:
Browser automation tool for detecting interactive elements on web pages
12 lines (11 loc) • 411 B
TypeScript
import { Page } from "puppeteer";
/**
* Injects and initializes the element detector in the page
* @param page The Puppeteer page to initialize the detector on
* @param options Configuration options for the detector
*/
export declare function initializeElementDetector(page: Page, options?: {
focusOnConsent?: boolean;
includeFormInputs?: boolean;
highlightAllText?: boolean;
}): Promise<void>;