import type { Client } from "webdriver"; import type { IWebDriverWindow } from "../models/IWebDriverWindow"; import { BaseWebDriverWindow } from "./baseWebDriverWindow"; /** * Webdriver window for the Node environment. */ export declare class NodeWebDriverWindow extends BaseWebDriverWindow implements IWebDriverWindow { /** * Switch to the window handle and catch exceptions. * @param client The client to use for switching. * @param handle The window to switch to. * @param activateNativeWindow Activate the native window as well. * @returns True if switched to the window. */ static safeSwitchToWindow(client: Client, handle: string, activateNativeWindow?: boolean): Promise; /** * Switch to the window. * @param activateNativeWindow Activate the native window as well. * @returns True if the switch was successful. */ switchTo(activateNativeWindow?: boolean): Promise; }