webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
6 lines • 430 B
TypeScript
import type { RectReturn } from '@wdio/protocols';
export type Size = Pick<RectReturn, 'width' | 'height'>;
export declare function getSize(this: WebdriverIO.Element): Promise<Size>;
export declare function getSize(this: WebdriverIO.Element, prop: keyof RectReturn): Promise<number>;
export declare function getSize(this: WebdriverIO.Element, prop?: keyof RectReturn): Promise<Size & number>;
//# sourceMappingURL=getSize.d.ts.map