UNPKG

appium-geckodriver

Version:

Appium driver for Gecko-based browsers and web views

47 lines 1.5 kB
export const androidHomeCheck: EnvVarAndPathCheck; /** @satisfies {import('@appium/types').IDoctorCheck} */ export class AndroidSdkCheck { /** @type {import('@appium/types').AppiumLogger} */ log: import("@appium/types").AppiumLogger; TOOL_NAMES: string[]; diagnose(): Promise<import("@appium/types").DoctorCheckResult>; fix(): Promise<string>; hasAutofix(): boolean; isOptional(): boolean; } export const androidSdkCheck: AndroidSdkCheck; export type EnvVarCheckOptions = { /** * If set to true then * the path is expected to be a valid folder */ expectDir?: boolean | undefined; /** * If set to true then * the path is expected to be a valid file */ expectFile?: boolean | undefined; }; /** * @typedef EnvVarCheckOptions * @property {boolean} [expectDir] If set to true then * the path is expected to be a valid folder * @property {boolean} [expectFile] If set to true then * the path is expected to be a valid file */ /** @satisfies {import('@appium/types').IDoctorCheck} */ declare class EnvVarAndPathCheck { /** * @param {string} varName * @param {EnvVarCheckOptions} [opts={}] */ constructor(varName: string, opts?: EnvVarCheckOptions); varName: string; opts: EnvVarCheckOptions; diagnose(): Promise<import("@appium/types").DoctorCheckResult>; fix(): Promise<string>; hasAutofix(): boolean; isOptional(): boolean; } export {}; //# sourceMappingURL=optional-checks.d.ts.map