Interface WindowInterface
Methods
focus
- focus(): Promise<boolean>
Returns Promise<boolean>
getElements
- getElements(maxElements?): Promise<WindowElement>
Parameters
Optional
maxElements: number
getTitle
- getTitle(): Promise<string>
Returns Promise<string>
move
- move(newOrigin): Promise<boolean>
Returns Promise<boolean>
on
- on(searchInput, callback): void
Parameters
searchInput: {
by: {
description: WindowElementDescription;
};
id: string;
type: "window-element";
}
id: string
type: "window-element"
Returns void
resize
- resize(newSize): Promise<boolean>
Returns Promise<boolean>