geckodriver
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -20,7 +20,14 @@ import cp from 'node:child_process'; | ||
startArgs.host = startArgs.host || DEFAULT_HOSTNAME; | ||
// By default, Geckodriver uses port 9222 | ||
// User might pass a port for custom runs but they should modify them for each worker | ||
// For remaining use cases, to enable parallel instances we need to set the port to 0 (random) | ||
// Otherwise all instances try to connect to the default port and fail | ||
startArgs.websocketPort = startArgs.websocketPort ?? 0; | ||
// By default, Geckodriver uses port 9222. | ||
// Users may specify a custom port for individual runs, but they need to modify it for each worker. | ||
// For other cases, to enable parallel instances, we need to set the port to 0 (random). | ||
// Otherwise, all instances will attempt to connect to the default port and fail. | ||
// If both --connect-existing and --websocket-port are used together, an error is thrown. | ||
// However, if --connect-existing is not used and --websocket-port is not specified, the websocketPort is set to 0. | ||
if (startArgs.connectExisting && startArgs.websocketPort) { | ||
throw new Error("Cannot use --connect-existing and --websocket-port together"); | ||
} | ||
else if (!startArgs.connectExisting && !startArgs.websocketPort) { | ||
startArgs.websocketPort = 0; | ||
} | ||
const args = parseParams(startArgs); | ||
@@ -27,0 +34,0 @@ log.info(`Starting Geckodriver at ${geckoDriverPath} with params: ${args.join(' ')}`); |
{ | ||
"name": "geckodriver", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"description": "Mozilla's Geckodriver for Node.js", | ||
@@ -54,28 +54,28 @@ "homepage": "https://github.com/webdriverio-community/node-geckodriver#readme", | ||
"devDependencies": { | ||
"@types/node": "^20.12.7", | ||
"@types/node": "^22.0.0", | ||
"@types/tar-fs": "^2.0.4", | ||
"@typescript-eslint/eslint-plugin": "^7.7.1", | ||
"@typescript-eslint/parser": "^7.7.1", | ||
"@vitest/coverage-v8": "^2.0.2", | ||
"@typescript-eslint/eslint-plugin": "^8.1.0", | ||
"@typescript-eslint/parser": "^8.1.0", | ||
"@vitest/coverage-v8": "^2.0.5", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-unicorn": "^54.0.0", | ||
"eslint-plugin-unicorn": "^55.0.0", | ||
"geckodriver": ".", | ||
"husky": "^9.0.11", | ||
"npm-run-all2": "^6.1.2", | ||
"husky": "^9.1.4", | ||
"npm-run-all2": "^6.2.2", | ||
"octokit": "^4.0.2", | ||
"release-it": "^17.2.1", | ||
"release-it": "^17.6.0", | ||
"ts-node": "^10.9.2", | ||
"tsx": "^4.7.3", | ||
"typescript": "^5.4.5", | ||
"vitest": "^2.0.2", | ||
"tsx": "^4.17.0", | ||
"typescript": "^5.5.4", | ||
"vitest": "^2.0.5", | ||
"wait-port": "^1.1.0", | ||
"webdriverio": "^8.36.1" | ||
"webdriverio": "^9.0.0" | ||
}, | ||
"dependencies": { | ||
"@wdio/logger": "^8.28.0", | ||
"@zip.js/zip.js": "^2.7.44", | ||
"@wdio/logger": "^9.0.0", | ||
"@zip.js/zip.js": "^2.7.48", | ||
"decamelize": "^6.0.0", | ||
"http-proxy-agent": "^7.0.2", | ||
"https-proxy-agent": "^7.0.4", | ||
"https-proxy-agent": "^7.0.5", | ||
"node-fetch": "^3.3.2", | ||
@@ -82,0 +82,0 @@ "tar-fs": "^3.0.6", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51550
305
+ Added@wdio/logger@9.0.8(transitive)
- Removed@wdio/logger@8.38.0(transitive)
Updated@wdio/logger@^9.0.0
Updated@zip.js/zip.js@^2.7.48
Updatedhttps-proxy-agent@^7.0.5