UNPKG

@progress/kendo-e2e

Version:

Kendo UI end-to-end test utilities.

17 lines (16 loc) 689 B
import { UIComponent } from "./ui-component"; import { Browser, By, WebElement } from "../selenium"; export declare class Form extends UIComponent { protected parentElement?: WebElement | By | string; static SELECTOR: string; static SUBMIT: string; static CLEAR: string; constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string); submitButton(): Promise<WebElement>; clearButton(): Promise<WebElement>; submit(): Promise<void>; clear(): Promise<void>; getValidationByIndex(index: number): Promise<WebElement>; getValidationErrorByIndex(index: number): Promise<string>; getSuccessMessage(): Promise<string>; }