freifede
freifede

Reputation: 91

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?

Upvotes: 0

Views: 870

Answers (2)

undetected Selenium
undetected Selenium

Reputation: 193348

Chrome have pushed the version to 100 just now.

Chrome100

Update your browser (incase not auto updated), you will be good to go.

Upvotes: 0

Fernando Aguilar
Fernando Aguilar

Reputation: 190

Try using *-*. Using * only takes into account release versions.

Reference:

https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#floating-version-resolutions

Upvotes: 0

Related Questions