Home > Back-end >  Selenium.WebDriver.ChromeDriver Nuget - Asterisk downloading previous version
Selenium.WebDriver.ChromeDriver Nuget - Asterisk downloading previous version

Time:04-01

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?

CodePudding user response:

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

Reference:

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

CodePudding user response:

Chrome have pushed the version to 100 just now.

Chrome100

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

  • Related