appium-chromium-driver
Version:
Appium driver for Chromium-based browsers that work with Chromedriver
33 lines • 1.19 kB
TypeScript
/**
* A version parser for Microsoft Edge browser and MSEdgeDriver.
*/
export declare class Version {
private readonly rawVersion;
/**
* The major version number extracted from the raw version string.
* Most of cases the major version is sufficient to determine
* the compatible MSEdgeDriver version, so we extract it for convenience.
*/
readonly major: string;
private static readonly VERSION_PATTERN;
constructor(rawVersion: string,
/**
* The major version number extracted from the raw version string.
* Most of cases the major version is sufficient to determine
* the compatible MSEdgeDriver version, so we extract it for convenience.
*/
major: string);
/**
* Parse a version string into a Version instance.
* @param version The version string (e.g., "147.0.3179.73" or "147.0.3179.98").
* @returns A Version instance.
* @throws Error if the version string is invalid.
*/
static from(version: string): Version;
/**
* Return the original version string.
* @returns The original version string.
*/
toString(): string;
}
//# sourceMappingURL=version.d.ts.map