UNPKG

appium-ios-simulator

Version:
80 lines 3.49 kB
import { SimulatorXcode14 } from './simulator-xcode-14'; export declare class SimulatorXcode15 extends SimulatorXcode14 { private _systemAppBundleIds?; /** * @override * @inheritdoc * * @param bundleId - The bundle id of the application to be checked. * @return True if the given application is installed. */ isAppInstalled: (bundleId: string) => Promise<boolean>; /** * @override * @inheritdoc * * @returns The full path to the LaunchDaemons directory */ getLaunchDaemonsRoot(): Promise<string>; /** * Sets the increase contrast configuration for the given simulator. * This function can only be called on a booted simulator. * * @override * @since Xcode SDK 15 (but lower xcode could have this command) * @param value valid increase constrast configuration value. * Acceptable value is 'enabled' or 'disabled' with Xcode 16.2. */ setIncreaseContrast: (value: string) => Promise<void>; /** * Retrieves the current increase contrast configuration value from the given simulator. * This function can only be called on a booted simulator. * * @override * @since Xcode SDK 15 (but lower xcode could have this command) * @returns the contrast configuration value. * Possible return value is 'enabled', 'disabled', * 'unsupported' or 'unknown' with Xcode 16.2. */ getIncreaseContrast: () => Promise<string>; /** * Sets content size for the given simulator. * This function can only be called on a booted simulator. * * @override * @since Xcode SDK 15 (but lower xcode could have this command) * @param value valid content size or action value. Acceptable value is * extra-small, small, medium, large, extra-large, extra-extra-large, * extra-extra-extra-large, accessibility-medium, accessibility-large, * accessibility-extra-large, accessibility-extra-extra-large, * accessibility-extra-extra-extra-large with Xcode 16.2. */ setContentSize: (value: string) => Promise<void>; /** * Retrieves the current content size value from the given simulator. * This function can only be called on a booted simulator. * * @override * @since Xcode SDK 15 (but lower xcode could have this command) * @returns the content size value. Possible return value is * extra-small, small, medium, large, extra-large, extra-extra-large, * extra-extra-extra-large, accessibility-medium, accessibility-large, * accessibility-extra-large, accessibility-extra-extra-large, * accessibility-extra-extra-extra-large, * unknown or unsupported with Xcode 16.2. */ getContentSize: () => Promise<string>; /** * Retrives the full path to where the simulator system R/O volume is mounted * * @returns The full path to the system root */ private _getSystemRoot; /** * Collects and caches bundle indetifier of system Simulator apps * * @returns A set of system app bundle identifiers */ private _fetchSystemAppBundleIds; } //# sourceMappingURL=simulator-xcode-15.d.ts.map