View Source Plausible.Test.Support.HTML (Plausible v0.0.1)

LazyHTML wrappers to help make assertions about HTML/DOM structures

Summary

Functions

attr_defined?(html, element, attr)

class_of_element(html, element)

elem_count(html, selector)

element_exists?(html, selector)

find(html, selector)

form_exists?(html, action_path)

name_of(element)

submit_button(html, form)

text(element)

text_of_attr(element, attr)

text_of_attr(html, selector, attr)

text_of_element(html, selector)