Olá, bom dia. Eu tentei executar os testes que fizemos no módulo anterior, assim que baixei o projeto novo. Entretanto, eu recebi este erro.
Alura.LeilaoOnline.Selenium.Testes.AoEfetuarLogin.DadoCredenciaisValidasDeveIrParaDashboard
Fonte: AoEfetuarLogin.cs linha 22
Duração: 1 ms
Mensagem:
System.AggregateException : One or more errors occurred. (session not created: This version of ChromeDriver only supports Chrome version 85 (SessionNotCreated)) (The following constructor parameters did not have matching fixture data: TestFixture fixture)
---- System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 85 (SessionNotCreated)
---- The following constructor parameters did not have matching fixture data: TestFixture fixture
Rastreamento de Pilha:
----- Inner Stack Trace #1 (System.InvalidOperationException) -----
WebDriver.UnpackAndThrowOnError(Response errorResponse)
WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
WebDriver.StartSession(ICapabilities desiredCapabilities)
WebDriver.ctor(ICommandExecutor executor, ICapabilities capabilities)
ChromiumDriver.ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)
ChromeDriver.ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
ChromeDriver.ctor(String chromeDriverDirectory, ChromeOptions options, TimeSpan commandTimeout)
ChromeDriver.ctor(String chromeDriverDirectory, ChromeOptions options)
ChromeDriver.ctor(String chromeDriverDirectory)
TestFixture.ctor() linha 17
----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) -----
Eu já atualizei o chromedriver do pacote nuget e também o selenium webdriver. Mas, mesmo assim, o erro persiste.. Poderiam me ajudar? Obg