edgedriver
Version:
Microsofts' EdgeDriver for Node.js
16 lines • 1 kB
JavaScript
import os from 'node:os';
import logger from '@wdio/logger';
export const TAGGED_VERSIONS = ['stable', 'beta', 'dev', 'canary'];
export const BASE_CDN_URL = (process.env.EDGEDRIVER_CDNURL ||
process.env.npm_config_edgedriver_cdnurl ||
'https://msedgedriver.microsoft.com');
export const DOWNLOAD_URL = `${BASE_CDN_URL}/%s/%s.zip`;
export const EDGE_PRODUCTS_API = 'https://edgeupdates.microsoft.com/api/products';
export const TAGGED_VERSION_URL = `${BASE_CDN_URL}/LATEST_%s`;
export const LATEST_RELEASE_URL = `${BASE_CDN_URL}/LATEST_RELEASE_%s_%s`;
export const BINARY_FILE = 'msedgedriver' + (os.platform() === 'win32' ? '.exe' : '');
export const DEFAULT_ALLOWED_ORIGINS = ['*'];
export const DEFAULT_ALLOWED_IPS = [''];
export const log = logger('edgedriver');
export const EDGEDRIVER_BUCKET = 'https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver?delimiter=%2F&maxresults=2500&restype=container&comp=list&_=1722752483611&timeout=60000';
//# sourceMappingURL=constants.js.map