WebErrors

object WebErrors
class Object
trait Matchable
class Any

Type members

Classlikes

class InvalidActionException(action: ElementAction) extends GwenException

Thrown when an invalid action is detected.

Thrown when an invalid action is detected.

class InvalidClickActionException(action: ElementAction) extends GwenException

Thrown when an invalid click action is detected.

Thrown when an invalid click action is detected.

class InvalidContextActionException(action: ElementAction) extends GwenException

Thrown when an invalid context action is detected.

Thrown when an invalid context action is detected.

class InvalidSelectorTypeException(selectorType: String) extends GwenException

Thrown when an invalid selector is detected.

Thrown when an invalid selector is detected.

class LocatorBindingException(msg: String) extends GwenException

Thrown when a locator binding error is detected .

Thrown when a locator binding error is detected .

class NoSuchWindowException(msg: String) extends GwenException

Thrown when an attempt is made to switch to a window that does not exist.

Thrown when an attempt is made to switch to a window that does not exist.

class NotFoundOrInteractableException(msg: String, cause: Throwable) extends GwenException

Thrown when a web element is not found or interactable.

Thrown when a web element is not found or interactable.

class UnsupportedModifierKeyException(key: String) extends GwenException

Thrown when an attempt is made to send an unsupported key to a field.

Thrown when an attempt is made to send an unsupported key to a field.

class UnsupportedWebDriverException(driverName: String) extends GwenException

Thrown when an unsupported web driver is detected.

Thrown when an unsupported web driver is detected.

Thrown when a web element cannot be located.

Thrown when a web element cannot be located.

Thrown when a web element cannot be interacted with.

Thrown when a web element cannot be interacted with.

Value members

Concrete methods

def elementNotFoundError(binding: LocatorBinding, cause: Throwable): Nothing
def elementNotInteractableError(binding: LocatorBinding, cause: Throwable): Nothing
def invalidActionError(action: ElementAction): Nothing
def invalidSelectorTypeError(selectorType: String): Nothing
def locatorBindingError(msg: String): Nothing
def noSuchWindowError(msg: String): Nothing
def unsupportedModifierKeyError(key: String): Nothing
def unsupportedWebDriverError(driverName: String): Nothing