SnapshotFormat

@Serializable(with = SnapshotFormatSerializer::class)
sealed interface SnapshotFormat

This enum doesn't have a proper description because it was generated from an inline declaration. Its name was inferred based on the place where it is used:

  • the parameter 'format' of the command 'Page.captureSnapshot'

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = SnapshotFormatSerializer::class)
data object mhtml : SnapshotFormat
Link copied to clipboard
@Serializable(with = SnapshotFormatSerializer::class)
data class NotDefinedInProtocol(val value: String) : SnapshotFormat

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).