UNPKG

@executeautomation/playwright-mcp-server

Version:
19 lines (18 loc) 513 B
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; /** * Resets browser and page variables * Used when browser is closed */ export declare function resetBrowserState(): void; /** * Main handler for tool calls */ export declare function handleToolCall(name: string, args: any, server: any): Promise<CallToolResult>; /** * Get console logs */ export declare function getConsoleLogs(): string[]; /** * Get screenshots */ export declare function getScreenshots(): Map<string, string>;