mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 20:17:05 +03:00
Use default chrome driver version
This commit is contained in:
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@@ -16,13 +16,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
- run: npm ci
|
- 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
|
- name: Copy configuration
|
||||||
run: cp config.json.example config.json
|
run: cp config.json.example config.json
|
||||||
|
|||||||
16
package-lock.json
generated
16
package-lock.json
generated
@@ -41,7 +41,7 @@
|
|||||||
"@types/wicg-mediasession": "^1.1.4",
|
"@types/wicg-mediasession": "^1.1.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
||||||
"@typescript-eslint/parser": "^5.54.1",
|
"@typescript-eslint/parser": "^5.54.1",
|
||||||
"chromedriver": "^135.0.0",
|
"chromedriver": "^137.0.0",
|
||||||
"concurrently": "^7.6.0",
|
"concurrently": "^7.6.0",
|
||||||
"copy-webpack-plugin": "^11.0.0",
|
"copy-webpack-plugin": "^11.0.0",
|
||||||
"eslint": "^8.35.0",
|
"eslint": "^8.35.0",
|
||||||
@@ -4085,9 +4085,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chromedriver": {
|
"node_modules/chromedriver": {
|
||||||
"version": "135.0.3",
|
"version": "137.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-135.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-137.0.4.tgz",
|
||||||
"integrity": "sha512-ZVd9NhChPm8u1s1kSYpEaTtoS6bEVnv8GdvTfKONicbLz57zLU5mxYILiz8qs5rXxig4QhB6+hSmJ1ki+s+L3A==",
|
"integrity": "sha512-IxipIe0AnoQhWvG6eSTOLhVf1Tt586LA1IH4RdhGhXrrK6nZx8+VcKdjtlyZIV60S0CttUij/YnYuHAI+7qzWg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -4104,7 +4104,7 @@
|
|||||||
"chromedriver": "bin/chromedriver"
|
"chromedriver": "bin/chromedriver"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ci-info": {
|
"node_modules/ci-info": {
|
||||||
@@ -17005,9 +17005,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"chromedriver": {
|
"chromedriver": {
|
||||||
"version": "135.0.3",
|
"version": "137.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-135.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-137.0.4.tgz",
|
||||||
"integrity": "sha512-ZVd9NhChPm8u1s1kSYpEaTtoS6bEVnv8GdvTfKONicbLz57zLU5mxYILiz8qs5rXxig4QhB6+hSmJ1ki+s+L3A==",
|
"integrity": "sha512-IxipIe0AnoQhWvG6eSTOLhVf1Tt586LA1IH4RdhGhXrrK6nZx8+VcKdjtlyZIV60S0CttUij/YnYuHAI+7qzWg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@testim/chrome-version": "^1.1.4",
|
"@testim/chrome-version": "^1.1.4",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
"@types/wicg-mediasession": "^1.1.4",
|
"@types/wicg-mediasession": "^1.1.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
||||||
"@typescript-eslint/parser": "^5.54.1",
|
"@typescript-eslint/parser": "^5.54.1",
|
||||||
"chromedriver": "^135.0.0",
|
"chromedriver": "^137.0.0",
|
||||||
"concurrently": "^7.6.0",
|
"concurrently": "^7.6.0",
|
||||||
"copy-webpack-plugin": "^11.0.0",
|
"copy-webpack-plugin": "^11.0.0",
|
||||||
"eslint": "^8.35.0",
|
"eslint": "^8.35.0",
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ async function setup(): Promise<WebDriver> {
|
|||||||
options.addArguments("--headless=new");
|
options.addArguments("--headless=new");
|
||||||
options.addArguments("--window-size=1920,1080");
|
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({
|
driver.manage().setTimeouts({
|
||||||
implicit: 5000
|
implicit: 5000
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user