From 48a54c06b413688cc4d42c60c1c02ac3932619c9 Mon Sep 17 00:00:00 2001 From: Beni Rupp <35852798+BeniRupp@users.noreply.github.com> Date: Mon, 7 Aug 2023 08:02:20 +0200 Subject: [PATCH] Use latest chromedriver version 115.0.5790.170 Use latest chromedriver version that fixes a bug in the chrome binary resolution and solves the error: An error occurred while creating a new ChromeDriver session: [WebDriverError] unknown error: cannot find Chrome binary See: https://github.com/GoogleChromeLabs/chrome-for-testing/issues/30 and: https://bugs.chromium.org/p/chromium/issues/detail?id=1466427 --- lib/chromedriver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chromedriver.js b/lib/chromedriver.js index 86a51d7..8eb77e3 100644 --- a/lib/chromedriver.js +++ b/lib/chromedriver.js @@ -17,7 +17,7 @@ function getPortFromArgs(args) { } process.env.PATH = path.join(__dirname, 'chromedriver') + path.delimiter + process.env.PATH; exports.path = process.platform === 'win32' ? path.join(__dirname, 'chromedriver', 'chromedriver.exe') : path.join(__dirname, 'chromedriver', 'chromedriver'); -exports.version = '115.0.5790.102'; +exports.version = '115.0.5790.170'; exports.start = function (args, returnPromise) { let command = exports.path; if (!fs.existsSync(command)) {