Documentation
¶
Overview ¶
Package crashreportcontext provides the Chrome DevTools Protocol commands, types, and events for the CrashReportContext domain.
This domain exposes the current state of the CrashReportContext API.
Generated by the cdproto-gen command.
Index ¶
Constants ¶
View Source
const (
CommandGetEntries = "CrashReportContext.getEntries"
)
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Key string `json:"key"`
Value string `json:"value"`
FrameID cdp.FrameID `json:"frameId"` // The ID of the frame where the key-value pair was set.
}
Entry key-value pair in CrashReportContext.
type GetEntriesParams ¶
type GetEntriesParams struct{}
GetEntriesParams returns all entries in the CrashReportContext across all frames in the page.
func GetEntries ¶
func GetEntries() *GetEntriesParams
GetEntries returns all entries in the CrashReportContext across all frames in the page.
See: https://chromedevtools.github.io/devtools-protocol/tot/CrashReportContext#method-getEntries
type GetEntriesReturns ¶
type GetEntriesReturns struct {
Entries []*Entry `json:"entries,omitempty,omitzero"`
}
GetEntriesReturns return values.
Click to show internal directories.
Click to hide internal directories.