@progress/kendo-e2e
Version:
Kendo UI end-to-end test utilities.
16 lines (15 loc) • 732 B
TypeScript
import { FuzzTestExpectations, UIComponent } from "./ui-component";
import { Browser, By, WebElement } from "../selenium";
export declare class Input extends UIComponent {
protected parentElement?: WebElement | By | string;
static SELECTOR: string;
constructor(browser: Browser, locator?: By | string, parentElement?: WebElement | By | string);
input(): Promise<WebElement>;
getValue(): Promise<string>;
getPlaceholder(): Promise<string>;
setValue(value: string, { clear }?: {
clear?: boolean;
}): Promise<void>;
clearValue(): Promise<void>;
setMaliciousInputs(myInputElement?: WebElement, maliciousInputArray?: string[][], expectationsArray?: FuzzTestExpectations): Promise<void>;
}