   @doc """
   Returns true if text is found on the page.
 
-  visible_in_page?(~r/Paragraph/)
+      visible_in_page?(~r/Paragraph/)
   """
   @spec visible_in_page?(Regex.t) :: Boolean.t
   def visible_in_page?(pattern) do

    Regex.match?(pattern, text)
  end

end

  @doc """
  Returns true if text is found on the page inside an element.

      visible_in_element?({:class, "block"}, ~r/Paragraph/)
      visible_in_element?({:id, "foo"}, ~r/paragraph/iu)

  If the element matching the selector itself is a hidden element,
  then the match will return true even if the text is not hidden.
