appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
20 lines • 639 B
TypeScript
import type { XCUITestDriver } from '../driver';
import type { Style } from './types';
/**
* Set the device's UI appearance style
*
* @since iOS 12.0
* @param style - The appearance style to set
* @throws If the current platform does not support UI appearance changes
*/
export declare function mobileSetAppearance(this: XCUITestDriver, style: 'dark' | 'light'): Promise<void>;
/**
* Get the device's UI appearance style.
*
* @since Xcode SDK 11
* @returns The current appearance style
*/
export declare function mobileGetAppearance(this: XCUITestDriver): Promise<{
style: Style;
}>;
//# sourceMappingURL=appearance.d.ts.map