UNPKG

webdriverio

Version:

Next-gen browser and mobile automation test framework for Node.js

6 lines 445 B
import type { RectReturn } from '@wdio/protocols'; export type Location = Pick<RectReturn, 'x' | 'y'>; export declare function getLocation(this: WebdriverIO.Element): Promise<Location>; export declare function getLocation(this: WebdriverIO.Element, prop: keyof Location): Promise<number>; export declare function getLocation(this: WebdriverIO.Element, prop?: keyof Location): Promise<Location & number>; //# sourceMappingURL=getLocation.d.ts.map