func (d *domainClient) ClearMessages(ctx context.Context) (err error) {
	err = rpcc.Invoke(ctx, "Console.clearMessages", nil, nil, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "Console", Op: "ClearMessages", Err: err}
	}
	return
}
ClearMessages invokes the Console method. Does nothing.
package console
import (
	"context"
	"github.com/mafredri/cdp/protocol/internal"
	"github.com/mafredri/cdp/rpcc"
)
type domainClient struct{ conn *rpcc.Conn }
func NewClient(conn *rpcc.Conn) *domainClient {
	return &domainClient{conn: conn}
}