diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 385a7b4e..d7ddd1ce 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,13 +16,6 @@ jobs: with: node-version: '18' - run: npm ci - - run: sudo apt-get remove google-chrome-stable - - - uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce - with: - chrome-version: 135 - install-dependencies: true - install-chromedriver: true - name: Copy configuration run: cp config.json.example config.json diff --git a/package-lock.json b/package-lock.json index 5ef369f7..df88eb0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "@types/wicg-mediasession": "^1.1.4", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.54.1", - "chromedriver": "^135.0.0", + "chromedriver": "^137.0.0", "concurrently": "^7.6.0", "copy-webpack-plugin": "^11.0.0", "eslint": "^8.35.0", @@ -4085,9 +4085,9 @@ } }, "node_modules/chromedriver": { - "version": "135.0.3", - "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-135.0.3.tgz", - "integrity": "sha512-ZVd9NhChPm8u1s1kSYpEaTtoS6bEVnv8GdvTfKONicbLz57zLU5mxYILiz8qs5rXxig4QhB6+hSmJ1ki+s+L3A==", + "version": "137.0.4", + "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-137.0.4.tgz", + "integrity": "sha512-IxipIe0AnoQhWvG6eSTOLhVf1Tt586LA1IH4RdhGhXrrK6nZx8+VcKdjtlyZIV60S0CttUij/YnYuHAI+7qzWg==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -4104,7 +4104,7 @@ "chromedriver": "bin/chromedriver" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/ci-info": { @@ -17005,9 +17005,9 @@ } }, "chromedriver": { - "version": "135.0.3", - "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-135.0.3.tgz", - "integrity": "sha512-ZVd9NhChPm8u1s1kSYpEaTtoS6bEVnv8GdvTfKONicbLz57zLU5mxYILiz8qs5rXxig4QhB6+hSmJ1ki+s+L3A==", + "version": "137.0.4", + "resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-137.0.4.tgz", + "integrity": "sha512-IxipIe0AnoQhWvG6eSTOLhVf1Tt586LA1IH4RdhGhXrrK6nZx8+VcKdjtlyZIV60S0CttUij/YnYuHAI+7qzWg==", "dev": true, "requires": { "@testim/chrome-version": "^1.1.4", diff --git a/package.json b/package.json index eb3b3ba6..0d633c3c 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@types/wicg-mediasession": "^1.1.4", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.54.1", - "chromedriver": "^135.0.0", + "chromedriver": "^137.0.0", "concurrently": "^7.6.0", "copy-webpack-plugin": "^11.0.0", "eslint": "^8.35.0", diff --git a/test/selenium.test.ts b/test/selenium.test.ts index 20c3f3b0..e6db6cdb 100644 --- a/test/selenium.test.ts +++ b/test/selenium.test.ts @@ -58,7 +58,7 @@ async function setup(): Promise { options.addArguments("--headless=new"); options.addArguments("--window-size=1920,1080"); - const driver = await new Builder().forBrowser("chromium").setChromeOptions(options).build(); + const driver = await new Builder().forBrowser("chrome").setChromeOptions(options).build(); driver.manage().setTimeouts({ implicit: 5000 });