chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.headlessexperimental / BeginFrameResponse

BeginFrameResponse

data class BeginFrameResponse

Response type for the HeadlessExperimentalDomain.beginFrame command.

Constructors

<init>

Response type for the HeadlessExperimentalDomain.beginFrame command.

BeginFrameResponse(hasDamage: Boolean, screenshotData: String? = null)

Properties

hasDamage

Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. Reported for diagnostic uses, may be removed in the future.

val hasDamage: Boolean

screenshotData

Base64-encoded image data of the screenshot, if one was requested and successfully taken.

val screenshotData: String?