Skip to content

Commit 5d3c749

Browse files
Update Selenium and JSDOM to correct ws dependency (#4235)
--------- Co-authored-by: Priyansh Garg <[email protected]>
1 parent 8526bd3 commit 5d3c749

File tree

8 files changed

+155
-96
lines changed

8 files changed

+155
-96
lines changed

package-lock.json

Lines changed: 98 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"ejs": "^3.1.10",
3535
"envinfo": "7.11.0",
3636
"glob": "7.2.3",
37-
"jsdom": "^23.1.0",
37+
"jsdom": "^24.1.0",
3838
"lodash": "^4.17.21",
3939
"minimatch": "3.1.2",
4040
"minimist": "1.2.6",
@@ -43,7 +43,7 @@
4343
"open": "8.4.2",
4444
"ora": "5.4.1",
4545
"piscina": "^4.3.1",
46-
"selenium-webdriver": "4.21.0",
46+
"selenium-webdriver": "4.22.0",
4747
"semver": "7.5.4",
4848
"stacktrace-parser": "0.1.10",
4949
"strip-ansi": "6.0.1",

test/lib/command-mocks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ module.exports = {
411411
const headlessOpt = headless ? '-headless' : '';
412412
const options = {
413413
['moz:firefoxOptions']: {
414+
prefs: {'remote.active-protocols': 3},
414415
args: [headlessOpt]
415416
}
416417
};

test/lib/mocks/mocks-jsonwire.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ mocks:
77
firstMatch: [{}]
88
alwaysMatch:
99
browserName: firefox
10+
'moz:firefoxOptions':
11+
prefs:
12+
'remote.active-protocols': 3
1013
response:
1114
status: 0
1215
sessionId: &sessionId '1352110219202'

test/lib/mocks/mocks-w3c.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ mocks:
99
firstMatch: [{}]
1010
alwaysMatch:
1111
browserName: firefox
12+
'moz:firefoxOptions':
13+
prefs:
14+
'remote.active-protocols': 3
1215
response:
1316
value:
1417
sessionId: &webdriverSessionId '13521-10219-202'

0 commit comments

Comments
 (0)