selenium-standalone
Advanced tools
Comparing version 9.4.0 to 9.5.0
@@ -30,3 +30,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
// https://selenium-release.storage.googleapis.com/index.html | ||
version: process.env.SELENIUM_VERSION || '4.9.0', | ||
version: process.env.SELENIUM_VERSION || '4.10.0', | ||
baseURL: 'https://selenium-release.storage.googleapis.com', | ||
@@ -33,0 +33,0 @@ drivers: { |
@@ -13,3 +13,2 @@ const { default: got } = require('got'); | ||
} = require('./platformDetection'); | ||
const { default: axios } = require('axios'); | ||
@@ -282,3 +281,3 @@ const urls = { | ||
async function getLastChromedriverVersionFromMajor(version) { | ||
const response = await axios({ | ||
const response = await got({ | ||
method: 'get', | ||
@@ -291,3 +290,3 @@ url: 'https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json', | ||
}); | ||
const versionsWithMajor = response.data.versions.filter( | ||
const versionsWithMajor = response.body.versions.filter( | ||
(f) => | ||
@@ -306,3 +305,3 @@ validateMajorVersionPrefix(f.version) === validateMajorVersionPrefix(version) && 'chromedriver' in f.downloads | ||
async function getLatestChromeVersion(possibleChanel) { | ||
const response = await axios({ | ||
const response = await got({ | ||
method: 'get', | ||
@@ -315,6 +314,6 @@ url: 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json', | ||
}); | ||
const channel = Object.keys(response.data.channels).find((i) => i.toLowerCase() === possibleChanel.toLowerCase()); | ||
const channel = Object.keys(response.body.channels).find((i) => i.toLowerCase() === possibleChanel.toLowerCase()); | ||
try { | ||
return response.data.channels[channel].version; | ||
return response.body.channels[channel].version; | ||
} catch (err) { | ||
@@ -321,0 +320,0 @@ console.log(); |
module.exports = () => { | ||
return { | ||
baseURL: 'https://github.com/SeleniumHQ/selenium/releases/download', | ||
version: process.env.SELENIUM_VERSION || '4.9.0', | ||
version: process.env.SELENIUM_VERSION || '4.10.0', | ||
@@ -6,0 +6,0 @@ /** @type {import("./start").Drivers} */ |
{ | ||
"name": "selenium-standalone", | ||
"version": "9.4.0", | ||
"version": "9.5.0", | ||
"description": "installs a `selenium-standalone` command line to install and start a standalone selenium server", | ||
@@ -10,4 +10,4 @@ "main": "index.js", | ||
"test": "run-s test:*", | ||
"test:v4": "cross-env-shell SELENIUM_VERSION=4.9.0 \"./bin/selenium-standalone install && nyc --reporter=text --reporter=html mocha --timeout=60000\"", | ||
"test:v3": "cross-env-shell SELENIUM_VERSION=3.141.59 \"./bin/selenium-standalone install && mocha 'test/programmatic.js' --timeout=60000\"", | ||
"test:v4": "cross-env SELENIUM_VERSION=4.10.0 ./bin/selenium-standalone install && nyc --reporter=text --reporter=html mocha --timeout=60000", | ||
"test:v3": "cross-env SELENIUM_VERSION=3.141.59 ./bin/selenium-standalone install && mocha 'test/programmatic.js' --timeout=60000", | ||
"docker:build": "run-s docker:build:*", | ||
@@ -46,3 +46,2 @@ "docker:build:latest": "docker build -t webdriverio/${npm_package_name}:latest --cache-from webdriverio/${npm_package_name}:latest .", | ||
"dependencies": { | ||
"axios": "^1.6.2", | ||
"commander": "^8.3.0", | ||
@@ -49,0 +48,0 @@ "cross-spawn": "^7.0.3", |
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
17
107191
1804
- Removedaxios@^1.6.2
- Removedasynckit@0.4.0(transitive)
- Removedaxios@1.7.7(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedform-data@4.0.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedproxy-from-env@1.1.0(transitive)