network/network.go
func (p *GetAllCookiesParams) Do(ctx context.Context) (cookies []*Cookie, err error) {
	// execute
	var res GetAllCookiesReturns
	err = cdp.Execute(ctx, CommandGetAllCookies, nil, &res)
	if err != nil {
		return nil, err
	}

	return res.Cookies, nil
}
func (p *GetAllCookiesParams) Do(ctx context.Context) (cookies []*Cookie, err error) {
	// execute
	var res GetAllCookiesReturns
	err = cdp.Execute(ctx, CommandGetAllCookies, nil, &res)
	if err != nil {
		return nil, err
	}

	return res.Cookies, nil
}
// Do executes Network.getAllCookies against the provided context.
//
// returns:
//   cookies - Array of cookie objects.