UNPKG

@coinbase/onchaintestkit

Version:

End-to-end testing toolkit for blockchain applications, powered by Playwright

28 lines (27 loc) 734 B
import { BrowserContext } from "@playwright/test"; declare global { interface Window { chrome?: { management?: { getAll: (callback: (extensions: ChromeExtension[]) => void) => void; }; runtime?: { lastError?: { message: string; }; }; }; } } interface ChromeExtension { id: string; name: string; enabled: boolean; type: string; } /** * Get extension ID from browser context using Chrome management API * Simple implementation without retry logic or caching */ export declare function getExtensionId(context: BrowserContext, extensionName: string): Promise<string>; export {};