Classes

A command failed because the referenced shadow root is no longer attached to the DOM.

The Element Click command could not be completed because the element receiving the events is obscuring the element that was requested clicked.

A command could not be completed because the element is not pointer- or keyboard interactable.

ExpectedException deprecated

The arguments passed to a command are either invalid or malformed.

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

An error occurred while executing JavaScript supplied by the user.

The target for mouse interaction is not in the browser’s viewport and cannot be brought into that viewport.

NoStringException deprecated

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

No cookie matching the given path name was found amongst the associated cookies of the current browsing context’s active document.

An element could not be located on the page using the given search parameters.

A command to switch to a frame could not be satisfied because the frame could not be found.

A command to set a cookie’s value could not be satisfied.

An unknown error occurred in the remote end while processing the command.

Exceptions

The driver server process is unexpectedly no longer available.

Navigation caused the user agent to hit a certificate warning, which is usually the result of an expired or invalid TLS certificate.

A command could not be completed because the element is in an invalid state, e.g. attempting to clear an element that isn’t both editable and resettable.

Argument was an invalid selector.

Occurs if the given session id is not in the list of active sessions, meaning the session either does not exist or that it’s not active.

The element does not have a shadow root.

A command to switch to a window could not be satisfied because the window could not be found.

A script did not complete before its timeout expired.

A new session could not be created.

A command failed because the referenced element is no longer attached to the DOM.

An operation did not complete before its timeout expired.

A screen capture was made impossible.

A modal dialog was open, blocking this operation.

A command could not be executed because the remote end is not aware of it.

The requested command matched a known URL but did not match an method for that URL.

Indicates that a command that should have executed properly cannot be supported for some reason.