C# System.InvalidOperationException: 'session not created: This version of ChromeDriver only supports Chrome version 88 Current browser version is 91.0.4472.77 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe code example

Example: c# System.InvalidOperationException: 'session not created: This version of ChromeDriver only supports Chrome version 85 (SessionNotCreated)'

// C# .Net update NuGet package, then
ChromeDriver driver = new ChromeDriver(@"C:\pathtodriver");

Tags:

Html Example