func (c *DOMStorage) GetDOMStorageItemsWithParams(ctx context.Context, v *DOMStorageGetDOMStorageItemsParams) ([]string, error) {
	resp, err := c.target.SendCustomReturn(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "DOMStorage.getDOMStorageItems", Params: v})
	if err != nil {
		return nil, err
	}
	var chromeData struct {
		Result struct {
			Entries []string
		}
	}
	if resp == nil {
		return nil, &gcdmessage.ChromeEmptyResponseErr{}
	}
	cerr := &gcdmessage.ChromeErrorResponse{}
	json.Unmarshal(resp.Data, cerr)
	if cerr != nil && cerr.Error != nil {
		return nil, &gcdmessage.ChromeRequestErr{Resp: cerr}
	}
	if err := json.Unmarshal(resp.Data, &chromeData); err != nil {
		return nil, err
	}
	return chromeData.Result.Entries, nil
}
GetDOMStorageItemsWithParams -
Returns -  entries -
package gcdapi
import (
	"context"
	"github.com/wirepair/gcd/v2/gcdmessage"
)
type DOMStorageStorageId struct {
	SecurityOrigin string `json:"securityOrigin"`  
	IsLocalStorage bool   `json:"isLocalStorage"`  
}
type DOMStorageDomStorageItemAddedEvent struct {
	Method string `json:"method"`
	Params struct {
		StorageId *DOMStorageStorageId `json:"storageId"`  
		Key       string               `json:"key"`        
		NewValue  string               `json:"newValue"`   
	} `json:"Params,omitempty"`
}
type DOMStorageDomStorageItemRemovedEvent struct {
	Method string `json:"method"`
	Params struct {
		StorageId *DOMStorageStorageId `json:"storageId"`  
		Key       string               `json:"key"`        
	} `json:"Params,omitempty"`
}
type DOMStorageDomStorageItemUpdatedEvent struct {
	Method string `json:"method"`
	Params struct {
		StorageId *DOMStorageStorageId `json:"storageId"`  
		Key       string               `json:"key"`        
		OldValue  string               `json:"oldValue"`   
		NewValue  string               `json:"newValue"`   
	} `json:"Params,omitempty"`
}
type DOMStorageDomStorageItemsClearedEvent struct {
	Method string `json:"method"`
	Params struct {
		StorageId *DOMStorageStorageId `json:"storageId"`  
	} `json:"Params,omitempty"`
}
type DOMStorage struct {
	target gcdmessage.ChromeTargeter
}
func NewDOMStorage(target gcdmessage.ChromeTargeter) *DOMStorage {
	c := &DOMStorage{target: target}
	return c
}
type DOMStorageClearParams struct {
	StorageId *DOMStorageStorageId `json:"storageId"`
}
func (c *DOMStorage) ClearWithParams(ctx context.Context, v *DOMStorageClearParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "DOMStorage.clear", Params: v})
}
func (c *DOMStorage) Clear(ctx context.Context, storageId *DOMStorageStorageId) (*gcdmessage.ChromeResponse, error) {
	var v DOMStorageClearParams
	v.StorageId = storageId
	return c.ClearWithParams(ctx, &v)
}
func (c *DOMStorage) Disable(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "DOMStorage.disable"})
}
func (c *DOMStorage) Enable(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "DOMStorage.enable"})
}
type DOMStorageGetDOMStorageItemsParams struct {
	StorageId *DOMStorageStorageId `json:"storageId"`
}