pl.wendigo.chrome.api.headlessexperimental

Package pl.wendigo.chrome.api.headlessexperimental

Contains DevTools Protocol HeadlessExperimental domain implementation accessible via HeadlessExperimentalOperations class.

Types

BeginFrameRequest

data class BeginFrameRequest

Represents request frame that can be used with HeadlessExperimental#beginFrame operation call.

BeginFrameResponse

data class BeginFrameResponse

Represents response frame that is returned from HeadlessExperimental#beginFrame operation call. Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also https://goo.gl/3zHXhB for more background.

HeadlessExperimentalOperations

class HeadlessExperimentalOperations

This domain provides experimental commands only supported in headless mode.

NeedsBeginFramesChangedEvent

data class NeedsBeginFramesChangedEvent : Event

Issued when the target starts or stops needing BeginFrames. Deprecated. Issue beginFrame unconditionally instead and use result from beginFrame to detect whether the frames were suppressed.

ScreenshotParams

data class ScreenshotParams

Encoding options for a screenshot.