Skip to main content

SnapshotRemoveElementsOption

Screenshot cleanup mode returned by snapshot queries.

enum SnapshotRemoveElementsOption {
DEFAULT
REMOVE_POPUPS
REMOVE_ELEMENTS
}

Values​

SnapshotRemoveElementsOption.DEFAULT​

No explicit cleanup rule, when capture has no popup or selector removal option.

SnapshotRemoveElementsOption.REMOVE_POPUPS​

Automatic popup removal, when capture hides popups.

SnapshotRemoveElementsOption.REMOVE_ELEMENTS​

Plain CSS selector removal, when capture hides specified elements.

Member Of​

Snapshot object