Hi, I'm trying to run tests on specific version of browsers, such as chrome beta, but when my test runs it doesn't open a browser then times out after 60s.
I'm using .net Selenium 4.34 and Selenium Manager 0.4.34
I'm setting the browser versions in chromeoptions:
ChromeOptions options = new ChromeOptions();
options.AddArgument("--start-maximized");
options.BrowserVersion = "beta";
When I start the test, no browser opens and the test fails with a 'http request to.... timeout after 60 seconds". I can see that the correct chrome version has been cached in .cache/selenium/chrome.
If I replace
options.BrowserVersion = "beta", with
options.BinaryLocation = {path of beta exe in .cache/selenium/chrome} the test opens chrome beta and runs successfully.
Looking at the documentation for the Selenium Manager, it suggests that Selenium will start Chrome once the Selenium Manager has downloaded it to cache but this doesn't seem to happening for me when I specify a browser version.
Many thanks, David