UNPKG

@progress/kendo-e2e

Version:

Kendo UI end-to-end test utilities.

29 lines (28 loc) 1.12 kB
import { UIComponent } from "./ui-component"; import { Browser, By, WebElement } from "../selenium"; import { DropDownList } from "./dropdownlist"; export declare class Pager extends UIComponent { protected parentElement?: WebElement | By | string; static SELECTOR: string; static FIRST: string; static PREVIOUS: string; static NEXT: string; static LAST: string; static INPUT: string; static DROPDOWN_LIST: string; static PAGER_INFO: string; constructor(browser: Browser, locator?: string, parentElement?: WebElement | By | string); selectedPage(): Promise<string>; firstPage(): Promise<WebElement>; lastPage(): Promise<WebElement>; previousPage(): Promise<WebElement>; nextPage(): Promise<WebElement>; pageButtons(): Promise<WebElement[]>; pageButton(index: number): Promise<WebElement>; pageButtonByText(text: number | string): Promise<WebElement>; input(): Promise<WebElement>; setInputValue(value: string): Promise<void>; dropDownList(): Promise<DropDownList>; info(): Promise<WebElement>; infoText(): Promise<string>; }