   @type parent ::
           element
           | session
-  @type locator :: String.t()
   @type opts :: Query.opts()
 
   @default_max_wait_time 3_000

  @doc """
  Matches the Element's content with the provided text and raises if not found
  """
  @spec assert_text(Element.t(), String.t()) :: boolean()
  @spec assert_text(parent, Query.t(), String.t()) :: boolean()

  def assert_text(parent, query, text) when is_binary(text) do

  Searches for CSS on the page.
  """
  @spec has_css?(parent, Query.t(), String.t()) :: boolean()
  @spec has_css?(parent, String.t()) :: boolean()

  def has_css?(parent, query, css) when is_binary(css) do
    parent
