Exceptions in Selenium

NoSuchFrame: A request to switch to a frame could not be satisfied because the frame could not be found.

StaleElementReference: An element command failed because the referenced element is no longer attached to the DOM.

Firefox Not Connected: Firefox browser upgraded toop new version.

ElementIsNotSelectable: An attempt was made to select an element that cannot be selected.

UnknownCommand: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource.

ElementNotVisible: An element command could not be completed because the element is not visible on the page.

InvalidElementState: An element command could not be completed because the element is in an invalid state (e.g. attempting to click a disabled element).

UnknownError: An unknown server-side error occurred while processing the command.

JavaScriptError: An error occurred while executing JavaScript code.

XPathLookupError: An error occurred while searching for an element by XPath.

Timeout: An operation did not complete before its timeout expired.

NoSuchWindow: A request to switch to a different window could not be satisfied because the window could not be found.

InvalidCookieDomain: An illegal attempt was made to set a cookie under a different domain than the current page.

UnableToSetCookie: A request to set a cookie value could not be satisfied.

UnexpectedAlertOpen: A modal dialog was open, blocking this operation

NoAlertOpenError: An attempt was made to operate on a modal dialog when one was not open.

ScriptTimeout: A script did not complete before its timeout expired.

InvalidElementCoordinates: The coordinates provided to an interactions operation are invalid.

IMENotAvailable: IME was not available.

IMEEngineActivationFailed: An IME engine could not be started.

InvalidSelector: Argument was an invalid selector (e.g. XPath/CSS).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s