TestSelector.Test.HoundHelpers (test_selector v0.3.2) View Source
Helpers to find test-selector
elements in HTML using Hound.
Link to this section Summary
Functions
Get an element test-value
attribute.
Check if the element test-value
attribute matches the given value.
Finds element by test selector on current page.
Same as find_test_element
, but returns the a tuple with {:error, error}
instead of raising.
Link to this section Functions
Get an element test-value
attribute.
Returns nil
then the test-value
attribute is not found.
Check if the element test-value
attribute matches the given value.
- Returns
true
if the value matches. - Returns
false
if the value does not match or is not found.
Finds element by test selector on current page.
Returns an element that can be used with other element functions.
Same as find_test_element
, but returns the a tuple with {:error, error}
instead of raising.