Documentation
¶
Overview ¶
Package testing provides the Chrome DevTools Protocol commands, types, and events for the Testing domain.
Testing domain is a dumping ground for the capabilities requires for browser or app testing that do not fit other domains.
Generated by the cdproto-gen command.
Index ¶
- Constants
- type GenerateTestReportParams
- func (p *GenerateTestReportParams) Do(ctxt context.Context, h cdp.Executor) (err error)
- func (v GenerateTestReportParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v GenerateTestReportParams) MarshalJSON() ([]byte, error)
- func (v *GenerateTestReportParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GenerateTestReportParams) UnmarshalJSON(data []byte) error
- func (p GenerateTestReportParams) WithGroup(group string) *GenerateTestReportParams
Constants ¶
const (
CommandGenerateTestReport = "Testing.generateTestReport"
)
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateTestReportParams ¶
type GenerateTestReportParams struct { Message string `json:"message"` // Message to be displayed in the report. Group string `json:"group,omitempty"` // Specifies the endpoint group to deliver the report to. }
GenerateTestReportParams generates a report for testing.
func GenerateTestReport ¶
func GenerateTestReport(message string) *GenerateTestReportParams
GenerateTestReport generates a report for testing.
parameters:
message - Message to be displayed in the report.
func (*GenerateTestReportParams) Do ¶
Do executes Testing.generateTestReport against the provided context.
func (GenerateTestReportParams) MarshalEasyJSON ¶
func (v GenerateTestReportParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GenerateTestReportParams) MarshalJSON ¶
func (v GenerateTestReportParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GenerateTestReportParams) UnmarshalEasyJSON ¶
func (v *GenerateTestReportParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GenerateTestReportParams) UnmarshalJSON ¶
func (v *GenerateTestReportParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (GenerateTestReportParams) WithGroup ¶
func (p GenerateTestReportParams) WithGroup(group string) *GenerateTestReportParams
WithGroup specifies the endpoint group to deliver the report to.