 
   """
 
-  @spec find(binary() | html_tree(), css_selector()) :: html_tree
+  @spec find(binary() | html_tree() | html_node(), css_selector()) :: html_tree
 
   def find(html, selector) when is_binary(html) do
     IO.warn(


  """

  @spec attribute(binary | html_tree, binary) :: list
  def attribute(html, attribute_name) when is_binary(html) do
    IO.warn(
      "deprecation: parse the HTML with parse_document or parse_fragment before using attribute/2"


  """

  @spec attribute(binary | html_tree | html_node, binary, binary) :: list

  def attribute(html, selector, attribute_name) do
    html
