@assert-equals/dappdriver
Version:
DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion
11 lines (10 loc) • 468 B
TypeScript
import { IDropDown } from '../interface/controls/drop-down';
import { PlaywrightHTMLElement } from './html-element';
export declare class PlaywrightDropDown extends PlaywrightHTMLElement implements IDropDown {
constructor(cssLocator: string);
getSelectedOption(): Promise<string>;
getText(): Promise<string>;
selectByIndex(index: number): Promise<void>;
selectByText(text: string): Promise<void>;
selectByValue(value: string): Promise<void>;
}