@coinbase/onchaintestkit
Version:
End-to-end testing toolkit for blockchain applications, powered by Playwright
15 lines (14 loc) • 407 B
TypeScript
import type { Page } from "@playwright/test";
type PopupConfigMap = {
networkAdded: PopupConfig;
networkInfo: PopupConfig;
recoveryPhrase: PopupConfig;
generic: PopupConfig;
};
type PopupConfig = {
selector: string;
timeout?: number;
};
export declare const popupConfigs: PopupConfigMap;
export declare function closePopup(page: Page, config: PopupConfig): Promise<void>;
export {};