UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

23 lines (22 loc) 942 B
import { ElementFinder } from "protractor"; import { Atom } from "../../atom"; export declare class TextboxAtom extends Atom { static CSS_CLASS: string; get input(): ElementFinder; /** * Because typescript getters and setters do not support async\await features I'm changing this * getter to a regular public method. Any suggestions are welcomed. * * See this issue for more information on this technical limitation: * https://github.com/Microsoft/TypeScript/issues/14982#issuecomment-294437284 * https://github.com/tc39/ecmascript-asyncawait/issues/15 */ getValue: () => Promise<string>; acceptText: (text: string) => Promise<void>; clearText: () => Promise<void>; deleteTextManually: () => Promise<void>; hasAttribute: (attrName: string) => Promise<boolean>; disabled: () => Promise<boolean>; isReadonly: () => Promise<boolean>; hasError(): Promise<boolean>; }