WebDriverResult EnumerationWebDriver
Specifies return values for actions in the driver.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public enum WebDriverResult
Members

  Member nameValueDescription
Success0 The action was successful.
IndexOutOfBounds1 The index specified for the action was out of the acceptable range.
NoCollection2 No collection was specified.
NoString3 No string was specified.
NoStringLength4 No string length was specified.
NoStringWrapper5 No string wrapper was specified.
NoSuchDriver6 No driver matching the criteria exists.
NoSuchElement7 No element matching the criteria exists.
NoSuchFrame8 No frame matching the criteria exists.
UnknownCommand9 The functionality is not supported.
ObsoleteElement10 The specified element is no longer valid.
ElementNotDisplayed11 The specified element is not displayed.
InvalidElementState12 The specified element is not enabled.
UnhandledError13 An unhandled error occurred.
ExpectedError14 An error occurred, but it was expected.
ElementNotSelectable15 The specified element is not selected.
NoSuchDocument16 No document matching the criteria exists.
UnexpectedJavaScriptError17 An unexpected JavaScript error occurred.
NoScriptResult18 No result is available from the JavaScript execution.
XPathLookupError19 The result from the JavaScript execution is not recognized.
NoSuchCollection20 No collection matching the criteria exists.
Timeout21 A timeout occurred.
NullPointer22 A null pointer was received.
NoSuchWindow23 No window matching the criteria exists.
InvalidCookieDomain24 An illegal attempt was made to set a cookie under a different domain than the current page.
UnableToSetCookie25 A request to set a cookie's value could not be satisfied.
UnexpectedAlertOpen26 An alert was found open unexpectedly.
NoAlertPresent27 A request was made to switch to an alert, but no alert is currently open.
AsyncScriptTimeout28 An asynchronous JavaScript execution timed out.
InvalidElementCoordinates29 The coordinates of the element are invalid.
InvalidSelector32 The selector used (CSS/XPath) was invalid.
See Also