25 lines
832 B
Go
25 lines
832 B
Go
package headlessexperimental
|
|
|
|
// Code generated by chromedp-gen. DO NOT EDIT.
|
|
|
|
import (
|
|
cdp "github.com/knq/chromedp/cdp"
|
|
)
|
|
|
|
// EventNeedsBeginFramesChanged issued when the target starts or stops
|
|
// needing BeginFrames.
|
|
type EventNeedsBeginFramesChanged struct {
|
|
NeedsBeginFrames bool `json:"needsBeginFrames"` // True if BeginFrames are needed, false otherwise.
|
|
}
|
|
|
|
// EventMainFrameReadyForScreenshots issued when the main frame has first
|
|
// submitted a frame to the browser. May only be fired while a BeginFrame is in
|
|
// flight. Before this event, screenshotting requests may fail.
|
|
type EventMainFrameReadyForScreenshots struct{}
|
|
|
|
// EventTypes all event types in the domain.
|
|
var EventTypes = []cdp.MethodType{
|
|
cdp.EventHeadlessExperimentalNeedsBeginFramesChanged,
|
|
cdp.EventHeadlessExperimentalMainFrameReadyForScreenshots,
|
|
}
|