diff --git a/dotnet/test/common/AlertsTest.cs b/dotnet/test/common/AlertsTest.cs index 9000bd98f8584..614f154fc7d8b 100644 --- a/dotnet/test/common/AlertsTest.cs +++ b/dotnet/test/common/AlertsTest.cs @@ -201,7 +201,7 @@ public void SettingTheValueOfAnAlertThrows() alert.SendKeys("cheese"); Assert.Fail("Expected exception"); } - catch (ElementNotVisibleException) + catch (ElementNotInteractableException) { } finally