-
public final class CaptureScreenshotRequestRequest object containing input parameters for the PageDomain.captureScreenshot command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringformatprivate final Integerqualityprivate final Viewportclipprivate final BooleanfromSurfaceprivate final BooleancaptureBeyondViewport
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Integercomponent2()final Viewportcomponent3()final Booleancomponent4()final Booleancomponent5()final CaptureScreenshotRequestcopy(String format, Integer quality, Viewport clip, Boolean fromSurface, Boolean captureBeyondViewport)final StringgetFormat()Image compression format (defaults to png). final IntegergetQuality()Compression quality from range 0.. final ViewportgetClip()Capture the screenshot of a given region only. final BooleangetFromSurface()Capture the screenshot from the surface, rather than the view. final BooleangetCaptureBeyondViewport()Capture the screenshot beyond the viewport. -
-
Method Detail
-
component1
final String component1()
-
component2
final Integer component2()
-
component3
final Viewport component3()
-
component4
final Boolean component4()
-
component5
final Boolean component5()
-
copy
final CaptureScreenshotRequest copy(String format, Integer quality, Viewport clip, Boolean fromSurface, Boolean captureBeyondViewport)
-
getQuality
final Integer getQuality()
Compression quality from range 0..100 (jpeg only).
-
getFromSurface
final Boolean getFromSurface()
Capture the screenshot from the surface, rather than the view. Defaults to true.
-
getCaptureBeyondViewport
final Boolean getCaptureBeyondViewport()
Capture the screenshot beyond the viewport. Defaults to false.
-
-
-
-