class Marionette::Error

Direct Known Subclasses

Defined in:

marionette/errors.cr

Constant Summary

CODE_MAP = {7 => NoSuchElement, 8 => NoSuchFrame, 9 => UnknownCommand, 10 => StaleElementReference, 11 => ElementNotVisible, 12 => InvalidElementState, 13 => UnknownError, 15 => ElementIsNotSelectable, 17 => JavascriptError, 19 => XpathLookupError, 21 => Timeout, 23 => NoSuchWindow, 24 => InvalidCookieDomain, 25 => UnableToSetCookie, 26 => UnexpectedAlertOpen, 27 => NoAlertOpen, 28 => ScriptTimeout, 29 => InvalidElementCoordinates, 30 => ImeNotAvailable, 31 => ImeEngineActivationFailed, 32 => InvalidSelector, 33 => SessionNotCreated, 34 => MoveTargetOutOfBounds, 51 => InvalidXpathSelector, 52 => InvalidXpathSelectorReturnTyper, 60 => ElementNotInteractable, 61 => InvalidArgument, 62 => NoSuchCookie, 63 => UnableToCaptureScreen, 64 => ElementClickIntercepted, 65 => InsecureCertificate, 66 => InvalidCoordinates, 67 => InvalidSessionId, 68 => UnknownMethod, 404 => ReachedErrorPage, 405 => MethodNotAllowed, 406 => GenericError}

Class Method Summary

Class Method Detail

def self.from_json(json : JSON::Any) #

[View source]