InspectMode

@Serializable(with = InspectModeSerializer::class)
sealed interface InspectMode

(undocumented in the protocol definition)

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = InspectModeSerializer::class)
data object captureAreaScreenshot : InspectMode
Link copied to clipboard
@Serializable(with = InspectModeSerializer::class)
data object none : InspectMode
Link copied to clipboard
@Serializable(with = InspectModeSerializer::class)
data class NotDefinedInProtocol(val value: String) : InspectMode

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

Link copied to clipboard
@Serializable(with = InspectModeSerializer::class)
data object searchForNode : InspectMode
Link copied to clipboard
@Serializable(with = InspectModeSerializer::class)
data object searchForUAShadowDOM : InspectMode