@coinbase/onchaintestkit
Version:
End-to-end testing toolkit for blockchain applications, powered by Playwright
11 lines (10 loc) • 486 B
TypeScript
import { Page } from "@playwright/test";
import type { SupportedChain } from "../../types";
export declare class HomePage {
private readonly page;
constructor(page: Page);
importPrivateKey(privateKey: string, password: string, chain?: SupportedChain, name?: string): Promise<void>;
switchAccount(accountName: string): Promise<void>;
addNewAccount(accountName: string, privateKey: string, chain: SupportedChain): Promise<void>;
enableTestMode(): Promise<void>;
}