WebErrors

gwen.web.eval.WebErrors$
object WebErrors

Defines methods for raising various kinds of errors (exceptions).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WebErrors.type

Members list

Type members

Classlikes

class InvalidActionException(action: ElementAction) extends GwenException

Thrown when an invalid action is detected.

Thrown when an invalid action is detected.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class InvalidClickActionException(action: ElementAction) extends GwenException

Thrown when an invalid click action is detected.

Thrown when an invalid click action is detected.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class InvalidContextActionException(action: ElementAction) extends GwenException

Thrown when an invalid context action is detected.

Thrown when an invalid context action is detected.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class InvalidSelectorTypeException(selectorType: String) extends GwenException

Thrown when an invalid selector is detected.

Thrown when an invalid selector is detected.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class LocatorBindingException(msg: String) extends GwenException

Thrown when a locator binding error is detected .

Thrown when a locator binding error is detected .

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class MultipleBrowserSettingsException(settingsFiles: List[File]) extends GwenException

Thrown when more than one browser setting file is active.

Thrown when more than one browser setting file is active.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
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.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
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.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class UnsupportedWebBrowserException(browser: String) extends GwenException

Thrown when an unsupported browser is detected.

Thrown when an unsupported browser is detected.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class UnsupportedWebDriverException(driverName: String) extends GwenException

Thrown when an unsupported web driver is detected.

Thrown when an unsupported web driver is detected.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Thrown when a web element cannot be located.

Thrown when a web element cannot be located.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Thrown when a web element cannot be interacted with.

Thrown when a web element cannot be interacted with.

Attributes

Supertypes
class GwenException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def elementNotFoundError(binding: LocatorBinding, cause: Throwable): Nothing
def elementNotInteractableError(binding: LocatorBinding, cause: Throwable): Nothing
def invalidActionError(action: ElementAction): Nothing
def invalidClickActionError(action: ElementAction): Nothing
def invalidSelectorTypeError(selectorType: String): Nothing
def locatorBindingError(msg: String): Nothing
def multipleBrowserSettingsError(settingsFiles: List[File]): Nothing
def noSuchWindowError(msg: String): Nothing
def unsupportedModifierKeyError(key: String): Nothing
def unsupportedWebBrowserError(browser: String): Nothing
def unsupportedWebDriverError(driverName: String): Nothing