func (c *Overlay) SetShowPaintRects(ctx context.Context, result bool) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowPaintRectsParams
	v.Result = result
	return c.SetShowPaintRectsWithParams(ctx, &v)
}
SetShowPaintRects - Requests that backend shows paint rectangles
result - True for showing paint rectangles
package gcdapi
import (
	"context"
	"github.com/wirepair/gcd/v2/gcdmessage"
)
type OverlaySourceOrderConfig struct {
	ParentOutlineColor *DOMRGBA `json:"parentOutlineColor"`  
	ChildOutlineColor  *DOMRGBA `json:"childOutlineColor"`   
}
type OverlayGridHighlightConfig struct {
	ShowGridExtensionLines  bool     `json:"showGridExtensionLines,omitempty"`   
	ShowPositiveLineNumbers bool     `json:"showPositiveLineNumbers,omitempty"`  
	ShowNegativeLineNumbers bool     `json:"showNegativeLineNumbers,omitempty"`  
	ShowAreaNames           bool     `json:"showAreaNames,omitempty"`            
	ShowLineNames           bool     `json:"showLineNames,omitempty"`            
	ShowTrackSizes          bool     `json:"showTrackSizes,omitempty"`           
	GridBorderColor         *DOMRGBA `json:"gridBorderColor,omitempty"`          
	CellBorderColor         *DOMRGBA `json:"cellBorderColor,omitempty"`          
	RowLineColor            *DOMRGBA `json:"rowLineColor,omitempty"`             
	ColumnLineColor         *DOMRGBA `json:"columnLineColor,omitempty"`          
	GridBorderDash          bool     `json:"gridBorderDash,omitempty"`           
	CellBorderDash          bool     `json:"cellBorderDash,omitempty"`           
	RowLineDash             bool     `json:"rowLineDash,omitempty"`              
	ColumnLineDash          bool     `json:"columnLineDash,omitempty"`           
	RowGapColor             *DOMRGBA `json:"rowGapColor,omitempty"`              
	RowHatchColor           *DOMRGBA `json:"rowHatchColor,omitempty"`            
	ColumnGapColor          *DOMRGBA `json:"columnGapColor,omitempty"`           
	ColumnHatchColor        *DOMRGBA `json:"columnHatchColor,omitempty"`         
	AreaBorderColor         *DOMRGBA `json:"areaBorderColor,omitempty"`          
	GridBackgroundColor     *DOMRGBA `json:"gridBackgroundColor,omitempty"`      
}
type OverlayFlexContainerHighlightConfig struct {
	ContainerBorder       *OverlayLineStyle `json:"containerBorder,omitempty"`        
	LineSeparator         *OverlayLineStyle `json:"lineSeparator,omitempty"`          
	ItemSeparator         *OverlayLineStyle `json:"itemSeparator,omitempty"`          
	MainDistributedSpace  *OverlayBoxStyle  `json:"mainDistributedSpace,omitempty"`   
	CrossDistributedSpace *OverlayBoxStyle  `json:"crossDistributedSpace,omitempty"`  
	RowGapSpace           *OverlayBoxStyle  `json:"rowGapSpace,omitempty"`            
	ColumnGapSpace        *OverlayBoxStyle  `json:"columnGapSpace,omitempty"`         
	CrossAlignment        *OverlayLineStyle `json:"crossAlignment,omitempty"`         
}
type OverlayFlexItemHighlightConfig struct {
	BaseSizeBox      *OverlayBoxStyle  `json:"baseSizeBox,omitempty"`       
	BaseSizeBorder   *OverlayLineStyle `json:"baseSizeBorder,omitempty"`    
	FlexibilityArrow *OverlayLineStyle `json:"flexibilityArrow,omitempty"`  
}
type OverlayLineStyle struct {
	Color   *DOMRGBA `json:"color,omitempty"`    
	Pattern string   `json:"pattern,omitempty"`  
}
type OverlayBoxStyle struct {
	FillColor  *DOMRGBA `json:"fillColor,omitempty"`   
	HatchColor *DOMRGBA `json:"hatchColor,omitempty"`  
}
type OverlayHighlightConfig struct {
	ShowInfo                     bool                                 `json:"showInfo,omitempty"`                      
	ShowStyles                   bool                                 `json:"showStyles,omitempty"`                    
	ShowRulers                   bool                                 `json:"showRulers,omitempty"`                    
	ShowAccessibilityInfo        bool                                 `json:"showAccessibilityInfo,omitempty"`         
	ShowExtensionLines           bool                                 `json:"showExtensionLines,omitempty"`            
	ContentColor                 *DOMRGBA                             `json:"contentColor,omitempty"`                  
	PaddingColor                 *DOMRGBA                             `json:"paddingColor,omitempty"`                  
	BorderColor                  *DOMRGBA                             `json:"borderColor,omitempty"`                   
	MarginColor                  *DOMRGBA                             `json:"marginColor,omitempty"`                   
	EventTargetColor             *DOMRGBA                             `json:"eventTargetColor,omitempty"`              
	ShapeColor                   *DOMRGBA                             `json:"shapeColor,omitempty"`                    
	ShapeMarginColor             *DOMRGBA                             `json:"shapeMarginColor,omitempty"`              
	CssGridColor                 *DOMRGBA                             `json:"cssGridColor,omitempty"`                  
	ColorFormat                  string                               `json:"colorFormat,omitempty"`                   
	GridHighlightConfig          *OverlayGridHighlightConfig          `json:"gridHighlightConfig,omitempty"`           
	FlexContainerHighlightConfig *OverlayFlexContainerHighlightConfig `json:"flexContainerHighlightConfig,omitempty"`  
	FlexItemHighlightConfig      *OverlayFlexItemHighlightConfig      `json:"flexItemHighlightConfig,omitempty"`       
	ContrastAlgorithm            string                               `json:"contrastAlgorithm,omitempty"`             
}
type OverlayGridNodeHighlightConfig struct {
	GridHighlightConfig *OverlayGridHighlightConfig `json:"gridHighlightConfig"`  
	NodeId              int                         `json:"nodeId"`               
}
type OverlayFlexNodeHighlightConfig struct {
	FlexContainerHighlightConfig *OverlayFlexContainerHighlightConfig `json:"flexContainerHighlightConfig"`  
	NodeId                       int                                  `json:"nodeId"`                        
}
type OverlayScrollSnapContainerHighlightConfig struct {
	SnapportBorder     *OverlayLineStyle `json:"snapportBorder,omitempty"`      
	SnapAreaBorder     *OverlayLineStyle `json:"snapAreaBorder,omitempty"`      
	ScrollMarginColor  *DOMRGBA          `json:"scrollMarginColor,omitempty"`   
	ScrollPaddingColor *DOMRGBA          `json:"scrollPaddingColor,omitempty"`  
}
type OverlayScrollSnapHighlightConfig struct {
	ScrollSnapContainerHighlightConfig *OverlayScrollSnapContainerHighlightConfig `json:"scrollSnapContainerHighlightConfig"`  
	NodeId                             int                                        `json:"nodeId"`                              
}
type OverlayHingeConfig struct {
	Rect         *DOMRect `json:"rect"`                    
	ContentColor *DOMRGBA `json:"contentColor,omitempty"`  
	OutlineColor *DOMRGBA `json:"outlineColor,omitempty"`  
}
type OverlayInspectNodeRequestedEvent struct {
	Method string `json:"method"`
	Params struct {
		BackendNodeId int `json:"backendNodeId"`  
	} `json:"Params,omitempty"`
}
type OverlayNodeHighlightRequestedEvent struct {
	Method string `json:"method"`
	Params struct {
		NodeId int `json:"nodeId"`  
	} `json:"Params,omitempty"`
}
type OverlayScreenshotRequestedEvent struct {
	Method string `json:"method"`
	Params struct {
		Viewport *PageViewport `json:"viewport"`  
	} `json:"Params,omitempty"`
}
type Overlay struct {
	target gcdmessage.ChromeTargeter
}
func NewOverlay(target gcdmessage.ChromeTargeter) *Overlay {
	c := &Overlay{target: target}
	return c
}
func (c *Overlay) Disable(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.disable"})
}
func (c *Overlay) Enable(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.enable"})
}
type OverlayGetHighlightObjectForTestParams struct {
	NodeId int `json:"nodeId"`
	IncludeDistance bool `json:"includeDistance,omitempty"`
	IncludeStyle bool `json:"includeStyle,omitempty"`
	ColorFormat string `json:"colorFormat,omitempty"`
	ShowAccessibilityInfo bool `json:"showAccessibilityInfo,omitempty"`
}
func (c *Overlay) GetHighlightObjectForTestWithParams(ctx context.Context, v *OverlayGetHighlightObjectForTestParams) (map[string]interface{}, error) {
	resp, err := c.target.SendCustomReturn(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.getHighlightObjectForTest", Params: v})
	if err != nil {
		return nil, err
	}
	var chromeData struct {
		Result struct {
			Highlight map[string]interface{}
		}
	}
	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.Highlight, nil
}
func (c *Overlay) GetHighlightObjectForTest(ctx context.Context, nodeId int, includeDistance bool, includeStyle bool, colorFormat string, showAccessibilityInfo bool) (map[string]interface{}, error) {
	var v OverlayGetHighlightObjectForTestParams
	v.NodeId = nodeId
	v.IncludeDistance = includeDistance
	v.IncludeStyle = includeStyle
	v.ColorFormat = colorFormat
	v.ShowAccessibilityInfo = showAccessibilityInfo
	return c.GetHighlightObjectForTestWithParams(ctx, &v)
}
type OverlayGetGridHighlightObjectsForTestParams struct {
	NodeIds []int `json:"nodeIds"`
}
func (c *Overlay) GetGridHighlightObjectsForTestWithParams(ctx context.Context, v *OverlayGetGridHighlightObjectsForTestParams) (map[string]interface{}, error) {
	resp, err := c.target.SendCustomReturn(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.getGridHighlightObjectsForTest", Params: v})
	if err != nil {
		return nil, err
	}
	var chromeData struct {
		Result struct {
			Highlights map[string]interface{}
		}
	}
	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.Highlights, nil
}
func (c *Overlay) GetGridHighlightObjectsForTest(ctx context.Context, nodeIds []int) (map[string]interface{}, error) {
	var v OverlayGetGridHighlightObjectsForTestParams
	v.NodeIds = nodeIds
	return c.GetGridHighlightObjectsForTestWithParams(ctx, &v)
}
type OverlayGetSourceOrderHighlightObjectForTestParams struct {
	NodeId int `json:"nodeId"`
}
func (c *Overlay) GetSourceOrderHighlightObjectForTestWithParams(ctx context.Context, v *OverlayGetSourceOrderHighlightObjectForTestParams) (map[string]interface{}, error) {
	resp, err := c.target.SendCustomReturn(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.getSourceOrderHighlightObjectForTest", Params: v})
	if err != nil {
		return nil, err
	}
	var chromeData struct {
		Result struct {
			Highlight map[string]interface{}
		}
	}
	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.Highlight, nil
}
func (c *Overlay) GetSourceOrderHighlightObjectForTest(ctx context.Context, nodeId int) (map[string]interface{}, error) {
	var v OverlayGetSourceOrderHighlightObjectForTestParams
	v.NodeId = nodeId
	return c.GetSourceOrderHighlightObjectForTestWithParams(ctx, &v)
}
func (c *Overlay) HideHighlight(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.hideHighlight"})
}
type OverlayHighlightFrameParams struct {
	FrameId string `json:"frameId"`
	ContentColor *DOMRGBA `json:"contentColor,omitempty"`
	ContentOutlineColor *DOMRGBA `json:"contentOutlineColor,omitempty"`
}
func (c *Overlay) HighlightFrameWithParams(ctx context.Context, v *OverlayHighlightFrameParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.highlightFrame", Params: v})
}
func (c *Overlay) HighlightFrame(ctx context.Context, frameId string, contentColor *DOMRGBA, contentOutlineColor *DOMRGBA) (*gcdmessage.ChromeResponse, error) {
	var v OverlayHighlightFrameParams
	v.FrameId = frameId
	v.ContentColor = contentColor
	v.ContentOutlineColor = contentOutlineColor
	return c.HighlightFrameWithParams(ctx, &v)
}
type OverlayHighlightNodeParams struct {
	HighlightConfig *OverlayHighlightConfig `json:"highlightConfig"`
	NodeId int `json:"nodeId,omitempty"`
	BackendNodeId int `json:"backendNodeId,omitempty"`
	ObjectId string `json:"objectId,omitempty"`
	Selector string `json:"selector,omitempty"`
}
func (c *Overlay) HighlightNodeWithParams(ctx context.Context, v *OverlayHighlightNodeParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.highlightNode", Params: v})
}
func (c *Overlay) HighlightNode(ctx context.Context, highlightConfig *OverlayHighlightConfig, nodeId int, backendNodeId int, objectId string, selector string) (*gcdmessage.ChromeResponse, error) {
	var v OverlayHighlightNodeParams
	v.HighlightConfig = highlightConfig
	v.NodeId = nodeId
	v.BackendNodeId = backendNodeId
	v.ObjectId = objectId
	v.Selector = selector
	return c.HighlightNodeWithParams(ctx, &v)
}
type OverlayHighlightQuadParams struct {
	Quad []float64 `json:"quad"`
	Color *DOMRGBA `json:"color,omitempty"`
	OutlineColor *DOMRGBA `json:"outlineColor,omitempty"`
}
func (c *Overlay) HighlightQuadWithParams(ctx context.Context, v *OverlayHighlightQuadParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.highlightQuad", Params: v})
}
func (c *Overlay) HighlightQuad(ctx context.Context, quad []float64, color *DOMRGBA, outlineColor *DOMRGBA) (*gcdmessage.ChromeResponse, error) {
	var v OverlayHighlightQuadParams
	v.Quad = quad
	v.Color = color
	v.OutlineColor = outlineColor
	return c.HighlightQuadWithParams(ctx, &v)
}
type OverlayHighlightRectParams struct {
	X int `json:"x"`
	Y int `json:"y"`
	Width int `json:"width"`
	Height int `json:"height"`
	Color *DOMRGBA `json:"color,omitempty"`
	OutlineColor *DOMRGBA `json:"outlineColor,omitempty"`
}
func (c *Overlay) HighlightRectWithParams(ctx context.Context, v *OverlayHighlightRectParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.highlightRect", Params: v})
}
func (c *Overlay) HighlightRect(ctx context.Context, x int, y int, width int, height int, color *DOMRGBA, outlineColor *DOMRGBA) (*gcdmessage.ChromeResponse, error) {
	var v OverlayHighlightRectParams
	v.X = x
	v.Y = y
	v.Width = width
	v.Height = height
	v.Color = color
	v.OutlineColor = outlineColor
	return c.HighlightRectWithParams(ctx, &v)
}
type OverlayHighlightSourceOrderParams struct {
	SourceOrderConfig *OverlaySourceOrderConfig `json:"sourceOrderConfig"`
	NodeId int `json:"nodeId,omitempty"`
	BackendNodeId int `json:"backendNodeId,omitempty"`
	ObjectId string `json:"objectId,omitempty"`
}
func (c *Overlay) HighlightSourceOrderWithParams(ctx context.Context, v *OverlayHighlightSourceOrderParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.highlightSourceOrder", Params: v})
}
func (c *Overlay) HighlightSourceOrder(ctx context.Context, sourceOrderConfig *OverlaySourceOrderConfig, nodeId int, backendNodeId int, objectId string) (*gcdmessage.ChromeResponse, error) {
	var v OverlayHighlightSourceOrderParams
	v.SourceOrderConfig = sourceOrderConfig
	v.NodeId = nodeId
	v.BackendNodeId = backendNodeId
	v.ObjectId = objectId
	return c.HighlightSourceOrderWithParams(ctx, &v)
}
type OverlaySetInspectModeParams struct {
	Mode string `json:"mode"`
	HighlightConfig *OverlayHighlightConfig `json:"highlightConfig,omitempty"`
}
func (c *Overlay) SetInspectModeWithParams(ctx context.Context, v *OverlaySetInspectModeParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setInspectMode", Params: v})
}
func (c *Overlay) SetInspectMode(ctx context.Context, mode string, highlightConfig *OverlayHighlightConfig) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetInspectModeParams
	v.Mode = mode
	v.HighlightConfig = highlightConfig
	return c.SetInspectModeWithParams(ctx, &v)
}
type OverlaySetShowAdHighlightsParams struct {
	Show bool `json:"show"`
}
func (c *Overlay) SetShowAdHighlightsWithParams(ctx context.Context, v *OverlaySetShowAdHighlightsParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowAdHighlights", Params: v})
}
func (c *Overlay) SetShowAdHighlights(ctx context.Context, show bool) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowAdHighlightsParams
	v.Show = show
	return c.SetShowAdHighlightsWithParams(ctx, &v)
}
type OverlaySetPausedInDebuggerMessageParams struct {
	Message string `json:"message,omitempty"`
}
func (c *Overlay) SetPausedInDebuggerMessageWithParams(ctx context.Context, v *OverlaySetPausedInDebuggerMessageParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setPausedInDebuggerMessage", Params: v})
}
func (c *Overlay) SetPausedInDebuggerMessage(ctx context.Context, message string) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetPausedInDebuggerMessageParams
	v.Message = message
	return c.SetPausedInDebuggerMessageWithParams(ctx, &v)
}
type OverlaySetShowDebugBordersParams struct {
	Show bool `json:"show"`
}
func (c *Overlay) SetShowDebugBordersWithParams(ctx context.Context, v *OverlaySetShowDebugBordersParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowDebugBorders", Params: v})
}
func (c *Overlay) SetShowDebugBorders(ctx context.Context, show bool) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowDebugBordersParams
	v.Show = show
	return c.SetShowDebugBordersWithParams(ctx, &v)
}
type OverlaySetShowFPSCounterParams struct {
	Show bool `json:"show"`
}
func (c *Overlay) SetShowFPSCounterWithParams(ctx context.Context, v *OverlaySetShowFPSCounterParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowFPSCounter", Params: v})
}
func (c *Overlay) SetShowFPSCounter(ctx context.Context, show bool) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowFPSCounterParams
	v.Show = show
	return c.SetShowFPSCounterWithParams(ctx, &v)
}
type OverlaySetShowGridOverlaysParams struct {
	GridNodeHighlightConfigs []*OverlayGridNodeHighlightConfig `json:"gridNodeHighlightConfigs"`
}
func (c *Overlay) SetShowGridOverlaysWithParams(ctx context.Context, v *OverlaySetShowGridOverlaysParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowGridOverlays", Params: v})
}
func (c *Overlay) SetShowGridOverlays(ctx context.Context, gridNodeHighlightConfigs []*OverlayGridNodeHighlightConfig) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowGridOverlaysParams
	v.GridNodeHighlightConfigs = gridNodeHighlightConfigs
	return c.SetShowGridOverlaysWithParams(ctx, &v)
}
type OverlaySetShowFlexOverlaysParams struct {
	FlexNodeHighlightConfigs []*OverlayFlexNodeHighlightConfig `json:"flexNodeHighlightConfigs"`
}
func (c *Overlay) SetShowFlexOverlaysWithParams(ctx context.Context, v *OverlaySetShowFlexOverlaysParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowFlexOverlays", Params: v})
}
func (c *Overlay) SetShowFlexOverlays(ctx context.Context, flexNodeHighlightConfigs []*OverlayFlexNodeHighlightConfig) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowFlexOverlaysParams
	v.FlexNodeHighlightConfigs = flexNodeHighlightConfigs
	return c.SetShowFlexOverlaysWithParams(ctx, &v)
}
type OverlaySetShowScrollSnapOverlaysParams struct {
	ScrollSnapHighlightConfigs []*OverlayScrollSnapHighlightConfig `json:"scrollSnapHighlightConfigs"`
}
func (c *Overlay) SetShowScrollSnapOverlaysWithParams(ctx context.Context, v *OverlaySetShowScrollSnapOverlaysParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowScrollSnapOverlays", Params: v})
}
func (c *Overlay) SetShowScrollSnapOverlays(ctx context.Context, scrollSnapHighlightConfigs []*OverlayScrollSnapHighlightConfig) (*gcdmessage.ChromeResponse, error) {
	var v OverlaySetShowScrollSnapOverlaysParams
	v.ScrollSnapHighlightConfigs = scrollSnapHighlightConfigs
	return c.SetShowScrollSnapOverlaysWithParams(ctx, &v)
}
type OverlaySetShowPaintRectsParams struct {
	Result bool `json:"result"`
}
func (c *Overlay) SetShowPaintRectsWithParams(ctx context.Context, v *OverlaySetShowPaintRectsParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Overlay.setShowPaintRects", Params: v})
}