UNPKG

@assert-equals/dappdriver

Version:

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

31 lines (30 loc) 851 B
import { HTMLElement } from '../../controls/html-element'; 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 nextButton: () => HTMLElement; protected cancelButton: () => HTMLElement; private scrollButton; /** * Creates an instance of SignatureRequest. * @memberof SignatureRequest */ constructor(); /** * * * @template TPage * @param {new () => TPage} [page] * @return {*} {Promise<any>} * @memberof SignatureRequest */ accept<TPage>(page?: new () => TPage): Promise<any>; }