/** * This module provides utility functions for working with WebDriverIO (wdio) in a desktop browser environment. * @module wdio-ics-utils * @see {@link https://webdriver.io/|WebDriverIO Documentation} */ import type { InstanceData } from './desktopBrowser/index.js'; /** * Checks if it is mobile */ export declare function checkIsMobile(platformName: string): boolean; /** * Checks if the os is Android */ export declare function checkIsAndroid(platformName: string): boolean; /** * Checks if the os is IOS */ export declare function checkIsIos(platformName: string): boolean; /** * Get instance data based on WebDriverIO capabilities and the current browser. * * @param {WebdriverIO.Capabilities} capabilities - The WebDriverIO capabilities. * @param {WebdriverIO.Browser} currentBrowser - The current WebDriverIO browser instance. * @returns {InstanceData} - The instance data containing browser information. */ export declare function getInstanceData(capabilities: WebdriverIO.Capabilities, currentBrowser: WebdriverIO.Browser): InstanceData; /** * Traverse up the scope chain until the browser element is reached. * * @param {WebdriverIO.Element | WebdriverIO.Browser} elem - The current element or browser instance. * @returns {WebdriverIO.Browser} - The WebDriverIO browser instance. */ export declare function getBrowserObject(elem: WebdriverIO.Element | WebdriverIO.Browser): WebdriverIO.Browser; //# sourceMappingURL=utils.d.ts.map