testing

package
v0.0.0-...-c6dadb5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 6 Imported by: 0

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

View Source
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

WithGroup specifies the endpoint group to deliver the report to.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL