network/network.go
func (p *SetCookieParams) Do(ctx context.Context) (success bool, err error) {
	// execute
	var res SetCookieReturns
	err = cdp.Execute(ctx, CommandSetCookie, p, &res)
	if err != nil {
		return false, err
	}

	return res.Success, nil
}
func (p *SetCookieParams) Do(ctx context.Context) (success bool, err error) {
	// execute
	var res SetCookieReturns
	err = cdp.Execute(ctx, CommandSetCookie, p, &res)
	if err != nil {
		return false, err
	}

	return res.Success, nil
}
// Do executes Network.setCookie against the provided context.
//
// returns:
//   success - True if successfully set cookie.