@coinbase/onchaintestkit
Version:
End-to-end testing toolkit for blockchain applications, powered by Playwright
18 lines (17 loc) • 673 B
TypeScript
import { Page } from "@playwright/test";
export declare class OnboardingPage {
private readonly page;
constructor(page: Page);
/**
* Imports a wallet using a seed phrase and password
* @param seedPhrase - The seed phrase to import
* @param password - The password to set for the wallet
*/
importWallet(seedPhrase: string, password: string): Promise<void>;
/**
* Imports a wallet using a private key and password during onboarding
* @param privateKey - The private key to import
* @param password - The password to set for the wallet
*/
importPrivateKey(privateKey: string, password: string): Promise<void>;
}