UNPKG

@assert-equals/dappdriver

Version:

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

44 lines (43 loc) 1.16 kB
import { IHTMLElement } from '../interface/controls/html-element'; import { IRadio } from '../interface/controls/radio'; import { HTMLElement } from './html-element'; /** * * * @export * @class Radio * @extends {HTMLElement} * @implements {IRadio} */ export declare class Radio extends HTMLElement implements IRadio { /** * Creates an instance of Radio. * @param {string} cssLocator * @memberof Radio */ constructor(cssLocator: string); /** * * * @protected * @param {(keyof IHTMLElement | keyof IRadio)} methodName * @param {Array<any>} [args=[]] * @return {*} {Promise<any>} * @memberof Radio */ protected callIfMethodExists(methodName: keyof IHTMLElement | keyof IRadio, args?: Array<any>): Promise<any>; /** * * Schedules a command to query whether this element is currently selected * @return {*} {Promise<boolean>} * @memberof Radio */ isSelected(): Promise<boolean>; /** * * Schedules a command to select this element * @return {*} {Promise<void>} * @memberof Radio */ select(): Promise<void>; }