import { ActivityBar, SideBarView } from "../.."; import { ElementWithContexMenu } from "../ElementWithContextMenu"; import { WebElement } from "selenium-webdriver"; /** * Page object representing a view container item in the activity bar */ export declare class ViewControl extends ElementWithContexMenu { constructor(element: WebElement, bar: ActivityBar); /** * Opens the associated view if not already open * @returns Promise resolving to SideBarView object representing the opened view */ openView(): Promise; /** * Closes the associated view if not already closed * @returns Promise resolving when the view closes */ closeView(): Promise; /** * Returns the title of the associated view */ getTitle(): Promise; }