Represents exceptions that are thrown when an error occurs during actions.
Inheritance Hierarchy


OpenQA.Selenium WebDriverException
OpenQA.Selenium DriverServiceNotFoundException
OpenQA.Selenium ElementNotVisibleException
OpenQA.Selenium IllegalLocatorException
OpenQA.Selenium InvalidCookieDomainException
OpenQA.Selenium InvalidElementStateException
OpenQA.Selenium InvalidSelectorException
OpenQA.Selenium NotFoundException
OpenQA.Selenium StaleElementReferenceException
OpenQA.Selenium.Support.UI LoadableComponentException
OpenQA.Selenium.Support.UI UnexpectedTagNameException
OpenQA.Selenium UnableToSetCookieException
OpenQA.Selenium UnhandledAlertException
OpenQA.Selenium WebDriverTimeoutException
OpenQA.Selenium XPathLookupException
Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
[SerializableAttribute] public class WebDriverException : Exception
See Also