code: func (p *WebPage) Cookies() ([]*http.Cookie, error) {
  	var resp struct {
  		Value []cookieJSON `json:"value"`
  	}
  	if err := p.ref.process.doJSON("POST", "/webpage/Cookies", map[string]interface{}{"ref": p.ref.id}, &resp); err != nil {
  		return nil, err
  	}
  
  	a := make([]*http.Cookie, len(resp.Value))
  	for i := range resp.Value {
  		a[i] = decodeCookieJSON(resp.Value[i])
  	}
  	return a, nil
  }
docs: // Cookies returns a list of cookies visible to the current URL.