-
public final class CaptureSnapshotRequestRequest object containing input parameters for the DOMSnapshotDomain.captureSnapshot command.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>computedStylesprivate final BooleanincludePaintOrderprivate final BooleanincludeDOMRects
-
Constructor Summary
Constructors Constructor Description CaptureSnapshotRequest(List<String> computedStyles, Boolean includePaintOrder, Boolean includeDOMRects)
-
Method Summary
Modifier and Type Method Description final List<String>component1()final Booleancomponent2()final Booleancomponent3()final CaptureSnapshotRequestcopy(List<String> computedStyles, Boolean includePaintOrder, Boolean includeDOMRects)final List<String>getComputedStyles()Whitelist of computed styles to return. final BooleangetIncludePaintOrder()Whether to include layout object paint orders into the snapshot. final BooleangetIncludeDOMRects()Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot -
-
Method Detail
-
component1
final List<String> component1()
-
component2
final Boolean component2()
-
component3
final Boolean component3()
-
copy
final CaptureSnapshotRequest copy(List<String> computedStyles, Boolean includePaintOrder, Boolean includeDOMRects)
-
getComputedStyles
final List<String> getComputedStyles()
Whitelist of computed styles to return.
-
getIncludePaintOrder
final Boolean getIncludePaintOrder()
Whether to include layout object paint orders into the snapshot.
-
getIncludeDOMRects
final Boolean getIncludeDOMRects()
Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot
-
-
-
-