Enum WebDriverResult
Specifies return values for actions in the driver.
public enum WebDriverResult
Fields
AsyncScriptTimeout = 28An asynchronous JavaScript execution timed out.
ElementNotDisplayed = 11The specified element is not displayed.
ElementNotSelectable = 15The specified element is not selected.
ExpectedError = 14An error occurred, but it was expected.
IndexOutOfBounds = 1The index specified for the action was out of the acceptable range.
InvalidCookieDomain = 24An illegal attempt was made to set a cookie under a different domain than the current page.
InvalidElementCoordinates = 29The coordinates of the element are invalid.
InvalidElementState = 12The specified element is not enabled.
InvalidSelector = 32The selector used (CSS/XPath) was invalid.
NoAlertPresent = 27A request was made to switch to an alert, but no alert is currently open.
NoCollection = 2No collection was specified.
NoScriptResult = 18No result is available from the JavaScript execution.
NoString = 3No string was specified.
NoStringLength = 4No string length was specified.
NoStringWrapper = 5No string wrapper was specified.
NoSuchCollection = 20No collection matching the criteria exists.
NoSuchDocument = 16No document matching the criteria exists.
NoSuchDriver = 6No driver matching the criteria exists.
NoSuchElement = 7No element matching the criteria exists.
NoSuchFrame = 8No frame matching the criteria exists.
NoSuchWindow = 23No window matching the criteria exists.
NullPointer = 22A null pointer was received.
ObsoleteElement = 10The specified element is no longer valid.
Success = 0The action was successful.
Timeout = 21A timeout occurred.
UnableToSetCookie = 25A request to set a cookie's value could not be satisfied.
UnexpectedAlertOpen = 26An alert was found open unexpectedly.
UnexpectedJavaScriptError = 17An unexpected JavaScript error occurred.
UnhandledError = 13An unhandled error occurred.
UnknownCommand = 9The functionality is not supported.
XPathLookupError = 19The result from the JavaScript execution is not recognized.