supapup
Version:
⚡ Lightning-fast MCP browser dev tool. Navigate → Get instant structured data. No screenshots needed! Puppeteer: 📸 → CSS selectors → JS eval. Supapup: semantic IDs ready to use. 10x faster, 90% fewer tokens.
71 lines • 1.6 kB
TypeScript
import { Page } from 'puppeteer';
export declare class PageAnalysis {
private page;
private hoverAnimationData;
constructor(page: Page);
getPageState(): Promise<{
content: {
type: string;
text: string;
}[];
}>;
discoverActions(): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getPageResources(): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getPerformanceMetrics(): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getAccessibilityTree(): Promise<{
content: {
type: string;
text: string;
}[];
}>;
inspectElement(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
evaluateScript(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
executeAndWait(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
captureHoverSequence(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
generateAgentPage(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getHoverAnimationFrame(params: {
id: string;
frame: number;
}): Promise<any>;
}
//# sourceMappingURL=page-analysis.d.ts.map