@wdio/electron-utils
Version:
Utilities for WebdriverIO Electron Service
11 lines • 601 B
TypeScript
import type { AppBuildInfo } from '@wdio/electron-types';
/**
* Determine the path to the Electron application binary
* @param packageJsonPath path to the nearest package.json
* @param appBuildInfo build information about the Electron application
* @param electronVersion version of Electron to use
* @param p process object (used for testing purposes)
* @returns path to the Electron app binary
*/
export declare function getBinaryPath(packageJsonPath: string, appBuildInfo: AppBuildInfo, electronVersion?: string, p?: NodeJS.Process): Promise<string>;
//# sourceMappingURL=binaryPath.d.ts.map