UNPKG

@progress/kendo-e2e

Version:

Kendo UI end-to-end test utilities.

17 lines (16 loc) 777 B
import { Browser, By, WebElement } from "../selenium"; import { FuzzTestExpectations, UIComponent } from "./ui-component"; export declare class TextBox extends UIComponent { protected parentElement?: WebElement | By | string; static SELECTOR: string; constructor(browser: Browser, locator?: By | string, parentElement?: WebElement | By | string); input(): Promise<WebElement>; clearValue(): Promise<void>; setValue(value: string, { clear }?: { clear?: boolean; }): Promise<void>; getValue(): Promise<string>; getSelectionStart(): Promise<number>; getSelectionEnd(): Promise<number>; setMaliciousInputs(myInputElement?: WebElement, maliciousInputArray?: string[][], expectationsArray?: FuzzTestExpectations): Promise<void>; }