import { WebElement } from "selenium-webdriver"; import { AbstractElement } from "../AbstractElement"; /** * Page Object for Custom Style Modal Dialogs (non-native) */ export declare class ModalDialog extends AbstractElement { constructor(); /** * Get the dialog's message in a Promise */ getMessage(): Promise; /** * Get the details message in a Promise */ getDetails(): Promise; /** * Get the list of buttons as WebElements * * @returns Promise resolving to Array of WebElement items representing the buttons */ getButtons(): Promise; /** * Push a button with given title if it exists * * @param title title/text of the button */ pushButton(title: string): Promise; /** * Close the dialog using the 'cross' button */ close(): Promise; }