import { ElementHandle, Page } from 'puppeteer'; export declare abstract class Base { protected static readonly DEFAULT_LOCATE_TIMEOUT = 20000; protected static readonly DEFAULT_PAGE_LOAD_TIMEOUT = 60000; protected readonly page: Page; constructor(page: Page); /** * Navigate to the given url * @param baseUrl * @param path */ protected goto({ baseUrl, path }: { baseUrl: string; path?: string; }): Promise; /** * Get text from an element * @param element * @param elementName */ protected getText(element: ElementHandle, elementName: string): Promise; /** * Check that element exists and is visible * @param selector element which should be visible * @param elementName name of the searchable element * @param timeout time to wait for until element is visible in the UI */ protected elementVisible(seletor: string, elementName: string, timeout?: number): Promise>; }