UNPKG

@assert-equals/dappdriver

Version:

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

32 lines (31 loc) 958 B
import { HTMLElement } from '../../controls/html-element'; import { IPageObject } from '../../interface/page/page-object'; import { IConfirmation } from '../../interface/wallet/confirmation'; import { ConfirmTransaction } from './confirm-transaction'; /** * * * @export * @class SignatureRequest * @extends {ConfirmTransaction} * @implements {IConfirmation} */ export declare class SignatureRequest extends ConfirmTransaction implements IConfirmation { protected get nextButton(): HTMLElement; protected get cancelButton(): HTMLElement; private get scrollButton(); /** * Creates an instance of SignatureRequest. * @memberof SignatureRequest */ constructor(); /** * * * @template TPage * @param {new () => TPage} page * @return {*} {Promise<TPage>} * @memberof SignatureRequest */ accept<TPage extends IConfirmation | IPageObject>(page: new () => TPage): Promise<TPage>; }