UNPKG

@assert-equals/dappdriver

Version:

DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion

39 lines (38 loc) 988 B
import { IPageObject } from '../../interface/page/page-object'; import { IConfirmation } from '../../interface/wallet/confirmation'; import { PageObject } from '../../page'; /** * * * @export * @class Send * @extends {PageObject} * @implements {IConfirmation} */ export declare class Send extends PageObject implements IConfirmation { private get confirmButton(); private get cancelButton(); /** * Creates an instance of Send. * @memberof Send */ constructor(); /** * * * @template TPage * @param {new () => TPage} page * @return {*} {Promise<TPage>} * @memberof Send */ accept<TPage extends IConfirmation | IPageObject>(page: new () => TPage): Promise<TPage>; /** * * * @template TPage * @param {new () => TPage} page * @return {*} {Promise<TPage>} * @memberof Send */ reject<TPage extends IConfirmation | IPageObject>(page: new () => TPage): Promise<TPage>; }