code: func (remote *RemoteDebugger) GetAllCookies() ([]Cookie, error) {
  	rawReply, err := remote.sendRawReplyRequest("Network.getCookies", nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var cookies struct {
  		Cookies []Cookie `json:"cookies"`
  	}
  
  	err = json.Unmarshal(rawReply, &cookies)
  	if err != nil {
  		log.Println("unmarshal:", err)
  		log.Println(string(rawReply))
  
  		return nil, err
  	}
  
  	return cookies.Cookies, nil
  }
docs: // GetAllCookies returns all browser cookies. Depending on the backend support,
  // will return detailed cookie information in the `cookies` field.