func (c *Console) Disable(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Console.disable"})
}
Disables console domain, prevents further console messages from being reported to the client.
package gcdapi
import (
	"context"
	"github.com/wirepair/gcd/v2/gcdmessage"
)
type ConsoleConsoleMessage struct {
	Source string `json:"source"`            
	Level  string `json:"level"`             
	Text   string `json:"text"`              
	Url    string `json:"url,omitempty"`     
	Line   int    `json:"line,omitempty"`    
	Column int    `json:"column,omitempty"`  
}
type ConsoleMessageAddedEvent struct {
	Method string `json:"method"`
	Params struct {
		Message *ConsoleConsoleMessage `json:"message"`  
	} `json:"Params,omitempty"`
}
type Console struct {
	target gcdmessage.ChromeTargeter
}
func NewConsole(target gcdmessage.ChromeTargeter) *Console {
	c := &Console{target: target}
	return c
}
func (c *Console) ClearMessages(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Console.clearMessages"})
}