From 4be1e61429fa1e381d1e78175b78196acd25931b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 13:52:07 -0400 Subject: [PATCH] build(deps-dev): bump selenium-webdriver and @types/selenium-webdriver (#1381) * build(deps-dev): bump selenium-webdriver and @types/selenium-webdriver Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) and [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver). These dependencies needed to be updated together. Updates `selenium-webdriver` from 4.15.0 to 4.24.1 - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Commits](https://github.com/SeleniumHQ/selenium/commits) Updates `@types/selenium-webdriver` from 4.1.20 to 4.1.26 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver) --- updated-dependencies: - dependency-name: selenium-webdriver dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: "@types/selenium-webdriver" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * remove deprecated headless function call * fixup! remove deprecated headless function call --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Azores --- package.json | 4 ++-- src/itest/util.ts | 2 +- yarn.lock | 58 ++++++++++++++++++++--------------------------- 3 files changed, 28 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index e6d049e85..6c183e2f4 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@types/jest": "^27.0.2", "@types/js-base64": "3.3.1", "@types/react-test-renderer": "^17.0.7", - "@types/selenium-webdriver": "^4.1.20", + "@types/selenium-webdriver": "^4.1.26", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.7.3", "concurrently": "^9.0.1", @@ -71,7 +71,7 @@ "react-test-renderer": "^17.0.2", "regenerator-runtime": "^0.14.1", "rimraf": "^6.0.1", - "selenium-webdriver": "^4.15.0", + "selenium-webdriver": "^4.24.1", "style-loader": "^3.3.3", "svg-url-loader": "^8.0.0", "terser-webpack-plugin": "^5.3.10", diff --git a/src/itest/util.ts b/src/itest/util.ts index 9d28950c8..f75ec37a8 100644 --- a/src/itest/util.ts +++ b/src/itest/util.ts @@ -42,7 +42,7 @@ export async function setupDriver(): Promise { const headless = process.env.HEADLESS_BROWSER === 'true'; const options = new firefox.Options(); if (headless) { - options.headless(); + options.addArguments('--headless'); } options.setAcceptInsecureCerts(true); options.addArguments('--width=1920', '--height=1080'); diff --git a/yarn.lock b/yarn.lock index 6f3a0f6d6..232c8a39e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -530,6 +530,13 @@ __metadata: languageName: node linkType: hard +"@bazel/runfiles@npm:^5.8.1": + version: 5.8.1 + resolution: "@bazel/runfiles@npm:5.8.1" + checksum: b1067d3dec8b2d853f883fe34b663f07e44742d2688103db1da322a47013eb04f1acad0d79c7d6fc9f75fc2798b1de41ba1a03999ac6354fb1288fdd8407be4d + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -2500,12 +2507,13 @@ __metadata: languageName: node linkType: hard -"@types/selenium-webdriver@npm:^4.1.20": - version: 4.1.20 - resolution: "@types/selenium-webdriver@npm:4.1.20" +"@types/selenium-webdriver@npm:^4.1.26": + version: 4.1.26 + resolution: "@types/selenium-webdriver@npm:4.1.26" dependencies: + "@types/node": "*" "@types/ws": "*" - checksum: 822e21af7413ce9e154ae2bb90c43193b305a3730955592489c7e2098831136891bde7c5bd92ce3e551b554c76d6973822e0d7fde1ff47ef342bc0ca43efa934 + checksum: a0ee71c11a67b4b21a0f31826391627b91e1e3838c15a0c5def1cacc6957f57716b11edc21aa368b3dbb38fb94005dd0b3cd13eb5d7f071d73dc600e1f81287f languageName: node linkType: hard @@ -4452,7 +4460,7 @@ __metadata: "@types/lodash": ^4.17.7 "@types/react": ^17.0.69 "@types/react-test-renderer": ^17.0.7 - "@types/selenium-webdriver": ^4.1.20 + "@types/selenium-webdriver": ^4.1.26 "@typescript-eslint/eslint-plugin": ^6.14.0 "@typescript-eslint/parser": ^6.7.3 concurrently: ^9.0.1 @@ -4494,7 +4502,7 @@ __metadata: regenerator-runtime: ^0.14.1 rimraf: ^6.0.1 rxjs: ^7.8.1 - selenium-webdriver: ^4.15.0 + selenium-webdriver: ^4.24.1 semver: ^7.6.0 showdown: ^2.1.0 style-loader: ^3.3.3 @@ -12294,14 +12302,15 @@ __metadata: languageName: node linkType: hard -"selenium-webdriver@npm:^4.15.0": - version: 4.15.0 - resolution: "selenium-webdriver@npm:4.15.0" +"selenium-webdriver@npm:^4.24.1": + version: 4.24.1 + resolution: "selenium-webdriver@npm:4.24.1" dependencies: + "@bazel/runfiles": ^5.8.1 jszip: ^3.10.1 - tmp: ^0.2.1 - ws: ">=8.14.2" - checksum: 81ccce6f0035197063d017c8543975fa2d4e6e948b4bd54264ab98e446b49bfe5851de1e02e3ddecefa151cfa20bcdfbc3e8c936cbb877bc69b92e22ac28710a + tmp: ^0.2.3 + ws: ^8.18.0 + checksum: d366ac01cd3ad2864d2fe62df61129b035349c907c9659d1716ad03845214c4d41d48e936cde22e037af80d1257d35d35a26c03b5095f1b00cf17642849747cd languageName: node linkType: hard @@ -13423,12 +13432,10 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.2.1": - version: 0.2.1 - resolution: "tmp@npm:0.2.1" - dependencies: - rimraf: ^3.0.0 - checksum: 8b1214654182575124498c87ca986ac53dc76ff36e8f0e0b67139a8d221eaecfdec108c0e6ec54d76f49f1f72ab9325500b246f562b926f85bcdfca8bf35df9e +"tmp@npm:^0.2.3": + version: 0.2.3 + resolution: "tmp@npm:0.2.3" + checksum: 73b5c96b6e52da7e104d9d44afb5d106bb1e16d9fa7d00dbeb9e6522e61b571fbdb165c756c62164be9a3bbe192b9b268c236d370a2a0955c7689cd2ae377b95 languageName: node linkType: hard @@ -14995,21 +15002,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:>=8.14.2": - version: 8.14.2 - resolution: "ws@npm:8.14.2" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ">=5.0.2" - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 3ca0dad26e8cc6515ff392b622a1467430814c463b3368b0258e33696b1d4bed7510bc7030f7b72838b9fdeb8dbd8839cbf808367d6aae2e1d668ce741d4308b - languageName: node - linkType: hard - "ws@npm:^7.3.1, ws@npm:^7.4.6": version: 7.5.9 resolution: "ws@npm:7.5.9"