UNPKG

webdriverio

Version:

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

11 lines • 548 B
import type { remote } from 'webdriver'; /** * Turn a path from the test runner into the `extensionData` payload * `webExtension.install` expects. * * Local sessions send `path` or `archivePath` and do not read the file. * Remote sessions read an archive, or zip a directory in memory, and send `base64`, * because the browser does not share this machine's disk. */ export declare function extensionDataFromPath(input: string, remoteSession: boolean): Promise<remote.WebExtensionExtensionData>; //# sourceMappingURL=extensionArchive.d.ts.map