Description
Selenium Manager's Electron driver fetch ignores --browser-version. The URL is always built from the /releases/latest redirect, so the user-requested Electron version never selects the matching release's chromedriver asset.
The version is only used as a metadata cache key β not for selecting which release to download.
Relevant Code
Expected: when --browser-version 29.1.4 (or major like 29) is supplied, fetch the matching release's chromedriver asset from https://github.com/electron/electron/releases/download/v<version>/chromedriver-v<version>-<platform>.zip.
Reproducible Code
./selenium-manager --browser electron --browser-version 29.0.0 --debug
Observe that the driver downloaded is from the latest Electron release, not 29.0.0.
Description
Selenium Manager's Electron driver fetch ignores
--browser-version. The URL is always built from the/releases/latestredirect, so the user-requested Electron version never selects the matching release's chromedriver asset.The version is only used as a metadata cache key β not for selecting which release to download.
Relevant Code
request_driver_version()always readsread_redirect_from_link(latest_url, ...), discarding any requested version.get_driver_url()then formats the URL using whateverget_driver_version()returned (always latest).Expected: when
--browser-version 29.1.4(or major like29) is supplied, fetch the matching release's chromedriver asset fromhttps://github.com/electron/electron/releases/download/v<version>/chromedriver-v<version>-<platform>.zip.Reproducible Code
Observe that the driver downloaded is from the latest Electron release, not 29.0.0.