“Chrome for Testing” for Selenium v4.11+ and Chrome v115+
Execute Selenium test scripts against a specific version of the Google Chrome browser.
A repost of my daughter’s article with permission. I added a few notes.
Selenium WebDriver v4.11 supports “Chrome for Testing”, a new (and long-waited by some) feature that Google added to make testing different browser versions easier, in particular, pin a specific browser version within test scripts, from v115 onwards.
Test Automation Engineers who use Selenium WebDriver regularly must have noticed the change in the ChromeDriver download page.
Goes to the “Chrome for Testing availability” page, and you see chromedrivers for several channels.
For normal use, you just click the ‘Stable’ link to navigate to the part below, copy the URL for your platform, and paste it into the browser address to get it.