Class HeadlessExperimental.BeginFrameResponse
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.headlessexperimental.HeadlessExperimental.BeginFrameResponse
-
- Enclosing class:
- HeadlessExperimental
public static class HeadlessExperimental.BeginFrameResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BeginFrameResponse(java.lang.Boolean hasDamage, java.util.Optional<java.lang.String> screenshotData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getHasDamage()
Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display.java.util.Optional<java.lang.String>
getScreenshotData()
Base64-encoded image data of the screenshot, if one was requested and successfully taken.
-
-
-
Method Detail
-
getHasDamage
public java.lang.Boolean getHasDamage()
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.
-
getScreenshotData
public java.util.Optional<java.lang.String> getScreenshotData()
Base64-encoded image data of the screenshot, if one was requested and successfully taken.
-
-