'Selenium.WebDriver.ChromeDriver Nuget - Asterisk downloading previous version
I have the package reference set as
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="*" />
However tests are failing in AppVeyor throwing this error:
System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 100
Current browser version is 99.0.4844.84 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)
Shouldn't the asterisk be downloading the latest version on each AppVeyor run?
Solution 1:[1]
Try using *-*. Using * only takes into account release versions.
Reference:
https://docs.microsoft.com/en-us/nuget/concepts/package-versioning#floating-version-resolutions
Solution 2:[2]
Chrome have pushed the version to 100 just now.

Update your browser (incase not auto updated), you will be good to go.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Fernando Aguilar |
| Solution 2 | undetected Selenium |
