ElementByRelation

@Serializable(with = ElementByRelationSerializer::class)
sealed interface ElementByRelation

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 'relation' of the command 'DOM.getElementByRelation'

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = ElementByRelationSerializer::class)
data class NotDefinedInProtocol(val value: String) : ElementByRelation

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 = ElementByRelationSerializer::class)
data object PopoverTarget : ElementByRelation