UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

21 lines 1.12 kB
import type { XCUITestDriver } from '../driver'; import type { IncreaseContrastAction, IncreaseContrastResult } from './types'; /** * Sets the increase contrast configuration for the given simulator. * * @since Xcode 15 (but lower xcode could have this command) * @param increaseContrast - Valid increase contrast configuration value. * Acceptable value is 'enabled' or 'disabled' with Xcode 16.2. * @throws If the current platform does not support content size appearance changes */ export declare function mobileSetIncreaseContrast(this: XCUITestDriver, increaseContrast: IncreaseContrastAction): Promise<void>; /** * Retrieves the current increase contrast configuration value from the given simulator. * * @since Xcode 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. */ export declare function mobileGetIncreaseContrast(this: XCUITestDriver): Promise<IncreaseContrastResult>; //# sourceMappingURL=increase-contrast.d.ts.map