selenium-standalone
Advanced tools
Comparing version 8.2.1 to 8.2.2
@@ -104,3 +104,3 @@ module.exports = computeDownloadUrls; | ||
opts.drivers.chromiumedge.version, | ||
getChromiumEdgeDriverArchitecture(opts.drivers.chromiumedge.arch) | ||
getChromiumEdgeDriverArchitecture(opts.drivers.chromiumedge.arch, opts.drivers.chromiumedge.version) | ||
); | ||
@@ -186,3 +186,3 @@ } | ||
function getChromiumEdgeDriverArchitecture(wantedArchitecture) { | ||
function getChromiumEdgeDriverArchitecture(wantedArchitecture, version) { | ||
let platform; | ||
@@ -193,3 +193,8 @@ | ||
} else if (process.platform === 'darwin') { | ||
platform = 'mac64'; | ||
if (process.arch === 'arm64') { | ||
const [major] = version.split('.'); | ||
platform = parseInt(major, 10) > 104 ? 'mac64_m1' : 'mac64'; | ||
} else { | ||
platform = 'mac64'; | ||
} | ||
} else if (wantedArchitecture === 'x32') { | ||
@@ -196,0 +201,0 @@ platform = 'win32'; |
{ | ||
"name": "selenium-standalone", | ||
"version": "8.2.1", | ||
"version": "8.2.2", | ||
"description": "installs a `selenium-standalone` command line to install and start a standalone selenium server", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86191
1285