UNPKG

webdriverio

Version:

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

11 lines • 426 B
/** * Where `frame`'s viewport sits in its top-level context's viewport, and that * top-level context. BiDi only captures top-level contexts, so a frame (or an * element inside one) is captured from there with this offset. */ export declare function frameOffset(frame: WebdriverIO.BrowsingContext): Promise<{ top: WebdriverIO.BrowsingContext; x: number; y: number; }>; //# sourceMappingURL=frameOffset.d.ts.map