24 lines
874 B
TypeScript
24 lines
874 B
TypeScript
|
|
import type { PinchAndZoomOptions } from '../types.js';
|
||
|
|
export declare function getNativeContext({ capabilities, isMobile }: {
|
||
|
|
capabilities: WebdriverIO.Capabilities;
|
||
|
|
isMobile: boolean;
|
||
|
|
}): boolean;
|
||
|
|
export declare function getMobileContext({ capabilities, isAndroid, isNativeContext }: {
|
||
|
|
capabilities: WebdriverIO.Capabilities;
|
||
|
|
isAndroid: boolean;
|
||
|
|
isNativeContext: boolean;
|
||
|
|
}): string | undefined;
|
||
|
|
export declare function calculateAndroidPinchAndZoomSpeed({ browser, duration, scale }: {
|
||
|
|
browser: WebdriverIO.Browser;
|
||
|
|
duration: number;
|
||
|
|
scale: number;
|
||
|
|
}): number;
|
||
|
|
export declare function validatePinchAndZoomOptions({ browser, gesture, options }: {
|
||
|
|
browser: WebdriverIO.Browser;
|
||
|
|
gesture: 'pinch' | 'zoom';
|
||
|
|
options: Partial<PinchAndZoomOptions>;
|
||
|
|
}): {
|
||
|
|
scale: number;
|
||
|
|
duration: number;
|
||
|
|
};
|
||
|
|
//# sourceMappingURL=mobile.d.ts.map
|