hound v1.1.1 Hound.Element View Source

A representation of a web element

Link to this section Summary

Functions

Returns true if the argument is an Element

Returns an element from a driver element response

Link to this section Types

Link to this type

selector() View Source
selector() :: t() | matcher()

Link to this type

strategy() View Source
strategy() ::
  :css | :class | :id | :name | :tag | :xpath | :link_text | :partial_link_text

Link to this type

t() View Source
t() :: %Hound.Element{uuid: String.t()}

Link to this section Functions

Link to this function

element?(arg1) View Source
element?(any()) :: boolean()

Returns true if the argument is an Element

Link to this function

from_response(element) View Source
from_response(map()) :: t()

Returns an element from a driver element response