UNPKG

@assert-equals/dappdriver

Version:

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

37 lines (36 loc) 973 B
import { IHTMLElement } from '../interface/controls/html-element'; import { ILink } from '../interface/controls/link'; import { HTMLElement } from './html-element'; /** * * * @export * @class Link * @extends {HTMLElement} * @implements {ILink} */ export declare class Link extends HTMLElement implements ILink { /** * Creates an instance of Link. * @param {string} cssLocator * @memberof Link */ constructor(cssLocator: string); /** * * * @protected * @param {(keyof IHTMLElement | keyof ILink)} methodName * @param {Array<any>} [args=[]] * @return {*} {Promise<any>} * @memberof Link */ protected callIfMethodExists(methodName: keyof IHTMLElement | keyof ILink, args?: Array<any>): Promise<any>; /** * * Schedules a command to query for the href attribute of the element * @return {*} {Promise<string>} * @memberof Link */ location(): Promise<string>; }