UNPKG

@wdio/image-comparison-core

Version:

Image comparison core module for @wdio/visual-service - WebdriverIO visual testing framework

14 lines 675 B
import type { ElementPosition } from './elementPosition.interfaces.js'; /** * Get the element position to the top of the screen of the device, not the top of the webview * This method is used for Android native and iOS screenshots */ export declare function getElementPositionTopScreenNativeMobile(element: HTMLElement, { isLandscape, safeArea, screenHeight, screenWidth, sideBarWidth, statusBarAddressBarHeight, }: { isLandscape: boolean; safeArea: number; screenHeight: number; screenWidth: number; sideBarWidth: number; statusBarAddressBarHeight: number; }): ElementPosition; //# sourceMappingURL=getElementPositionTopScreenNativeMobile.d.ts.map