code: def from_page(page)
        cookies = page.cookie_params
  
        unless cookies.empty?
          self[page.url.host] = cookies
          return true
        end
  
        return false
      end
docs: Retrieve cookies for a domain from a page response header.
  
   @param [Page] page
     The response page from which to extract cookie data.
  
   @return [Boolean]
     Specifies whether cookies were added from the page.
  
   @since 0.2.2