@assert-equals/dappdriver
Version:
DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion
36 lines (35 loc) • 1.05 kB
TypeScript
import { IHTMLElementCollection } from '../interface/controls/html-element-collection';
import { HTMLElement } from './html-element';
/**
*
*
* @export
* @class HTMLElementCollection
* @implements {IHTMLElementCollection}
*/
export declare class HTMLElementCollection implements IHTMLElementCollection {
private cssLocator;
/**
* Creates an instance of HTMLElementCollection.
* @param {string} cssLocator
* @memberof HTMLElementCollection
*/
constructor(cssLocator: string);
/**
*
*
* @protected
* @param {keyof IHTMLElementCollection} methodName
* @param {Array<any>} [args=[]]
* @return {*} {Promise<any>}
* @memberof HTMLElementCollection
*/
protected callIfMethodExists(methodName: keyof IHTMLElementCollection, args?: Array<any>): Promise<any>;
/**
*
* Schedules a command to retrieve the elements
* @return {*} {Promise<Array<HTMLElement>>}
* @memberof HTMLElementCollection
*/
elements(): Promise<Array<HTMLElement>>;
}