Socket
Socket
Sign inDemoInstall

selenium-standalone

Package Overview
Dependencies
Maintainers
10
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selenium-standalone - npm Package Compare versions

Comparing version 9.4.0 to 9.5.0

2

docs/API.md

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc