UNPKG

@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) 465 B
import { IDropDown } from '../interface/controls/drop-down'; import { WebDriverHTMLElement } from './html-element'; export declare class WebDriverDropDown extends WebDriverHTMLElement 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>; }