The WebDriverWait.IgnoreExceptionTypes property in C# is used to specify which exception types should be ignored or not considered as failures when writing WebDriver tests. By default, it is set to an empty array, which means that all exceptions will be handled as failures. However, by using this property, you can exclude specific exception types from being treated as failures. This can be useful when dealing with known exceptions that might occur during the execution of the test, such as StaleElementReferenceException or NoSuchElementException. By ignoring these specific exceptions, the WebDriver waits until the desired condition is met without considering them as failures.
C# (CSharp) WebDriverWait.IgnoreExceptionTypes - 53 examples found. These are the top rated real world C# (CSharp) examples of WebDriverWait.IgnoreExceptionTypes extracted from open source projects. You can rate examples to help us improve the quality of examples.