Skip to content

Commit

Permalink
Use latest chromedriver version 115.0.5790.170
Browse files Browse the repository at this point in the history
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: GoogleChromeLabs/chrome-for-testing#30

and: https://bugs.chromium.org/p/chromium/issues/detail?id=1466427
  • Loading branch information
BeniRupp authored and giggio committed Aug 7, 2023
1 parent 157e682 commit 48a54c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chromedriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 48a54c0

Please sign in to comment.