vscode-extension-tester: [🚫 Bug] Chromedriver version supported is only 114 and not any latest

Describe the bug

Latest chrome browser available is 119, but extest get-chromedriver always pulls up chromedriver that is of version 114. Though I have tried to add chromedriver version as 119, still no luck.

Steps to reproduce

I am using the command "npm run transpile-tests-to-commonjs && rm -rf test-res && rm -rf test-resource && rm -rf ./tests/webdriver/_fixtures/tmp* && extest install-vsix --vsix_file ./test-resources/**.vsix && extest get-chromedriver && extest run-tests --mocha_config ./.mocharc.json out/tests/webdriver/tests/**/*.js" where the get-chromedriver always tries to download 114, no matter even if I have a chrome-driver version of 119 gets ignored.

Is the chrome-driver version being controlled from elsewhere? Is there a possibility to update the chromedriver version to the latest one as supported by the chrome browser. If so, which file controls this?

Logs

session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 119.0.6045.105 with binary path /usr/bin/google-chrome

Current browser version is 119.0.6045.105 with binary path /usr/bin/google-chrome
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:524:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:587:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:515:28)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Operating System

mac Ventura 13.4

Visual Studio Code

1.79.1

vscode-extension-tester

5.5.2

NodeJS

18.16.1

npm

9.5.1

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 20

Most upvoted comments

@djelinek Thanks. Yes, it is working after upgrading to latest version.

I am on mac intel.

the chromedriver binary is available in test-resources folder I was curious to understand why the vscode latest versions have corresponding chromium version which is still with 114 and nothing greater than that. So I am right now trying to check if I can get the latest chromium that can be used to download the corresponding chrome version matching with the binary.

@djelinek, did you have time to take a look at this?