Skip to content

Commit

Permalink
Update Selenium and JSDOM to correct ws dependency (#4235)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: Priyansh Garg <[email protected]>
  • Loading branch information
AutomatedTester and garg3133 authored Jul 16, 2024
1 parent 8526bd3 commit 5d3c749
Show file tree
Hide file tree
Showing 8 changed files with 155 additions and 96 deletions.
184 changes: 98 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"ejs": "^3.1.10",
"envinfo": "7.11.0",
"glob": "7.2.3",
"jsdom": "^23.1.0",
"jsdom": "^24.1.0",
"lodash": "^4.17.21",
"minimatch": "3.1.2",
"minimist": "1.2.6",
Expand All @@ -43,7 +43,7 @@
"open": "8.4.2",
"ora": "5.4.1",
"piscina": "^4.3.1",
"selenium-webdriver": "4.21.0",
"selenium-webdriver": "4.22.0",
"semver": "7.5.4",
"stacktrace-parser": "0.1.10",
"strip-ansi": "6.0.1",
Expand Down
1 change: 1 addition & 0 deletions test/lib/command-mocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ module.exports = {
const headlessOpt = headless ? '-headless' : '';
const options = {
['moz:firefoxOptions']: {
prefs: {'remote.active-protocols': 3},
args: [headlessOpt]
}
};
Expand Down
3 changes: 3 additions & 0 deletions test/lib/mocks/mocks-jsonwire.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ mocks:
firstMatch: [{}]
alwaysMatch:
browserName: firefox
'moz:firefoxOptions':
prefs:
'remote.active-protocols': 3
response:
status: 0
sessionId: &sessionId '1352110219202'
Expand Down
3 changes: 3 additions & 0 deletions test/lib/mocks/mocks-w3c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ mocks:
firstMatch: [{}]
alwaysMatch:
browserName: firefox
'moz:firefoxOptions':
prefs:
'remote.active-protocols': 3
response:
value:
sessionId: &webdriverSessionId '13521-10219-202'
Expand Down
Loading

0 comments on commit 5d3c749

Please sign in to comment.