Hound.Matchers.Text
Matchers to work with page text
Summary
Functions
Returns true if text is found on the page
Returns true if text is found on the page inside an element
Types
Functions
Returns true if text is found on the page.
visible_on_page?(“Paragraph”) visible_on_page?(“Paragraph”, 4)
The text is matched case-sensitive.
Returns true if text is found on the page inside an element.
visible_on_page_within?({:class, “block”}, “Paragraph”) visible_on_page_within?({:id, “id”}, “Paragraph”) visible_on_page_within?({:id, “id”}, “Paragraph”, 5)
The text is matched case-sensitive.