UNPKG

appium-chromium-driver

Version:

Appium driver for Chromium-based browsers that work with Chromedriver

23 lines 1.16 kB
interface DriverDeploymentArtifact { archiveName: string; executableName: string; version: string; } /** * Deploy a downloaded driver artifact into the target executable directory. * @param artifact Driver artifact metadata needed for deployment. * @param executableDir The base directory where versioned driver folders are stored. * @param downloadArchive Callback responsible for obtaining the archive file at the provided path. * @returns The deployed driver executable path. * @throws Error if deployment fails. */ export declare function deployDriverArtifact(artifact: DriverDeploymentArtifact, executableDir: string, downloadArchive: (archivePath: string) => Promise<void>): Promise<string>; /** * Locate the driver executable in the given directory tree. * @param executableDir The directory to search for the driver executable. * @param executableName The driver executable file name. * @returns The path to the driver executable, or null if not found. */ export declare function locateDriverExecutableInDir(executableDir: string, executableName: string): Promise<string | null>; export {}; //# sourceMappingURL=deployment.d.ts.map