hound v1.0.2 Hound.Element

A representation of a web element

Summary

Functions

Returns true if the argument is an Element

Returns an element from a driver element response

Types

strategy ::
  :css |
  :class |
  :id |
  :name |
  :tag |
  :xpath |
  :link_text |
  :partial_link_text
t :: %Hound.Element{uuid: String.t}

Functions

element?(arg1)

Specs

element?(any) :: boolean

Returns true if the argument is an Element

from_response(value)

Specs

from_response(map) :: t

Returns an element from a driver element response