ForcePseudoStateRequest

data class ForcePseudoStateRequest(nodeId: NodeId, forcedPseudoClasses: List<String>)

Represents request frame that can be used with CSS#forcePseudoState operation call.

Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.

See also

Constructors

ForcePseudoStateRequest
Link copied to clipboard
fun ForcePseudoStateRequest(nodeId: NodeId, forcedPseudoClasses: List<String>)

Properties

forcedPseudoClasses
Link copied to clipboard
val forcedPseudoClasses: List<String>
Element pseudo classes to force when computing the element's style.
nodeId
Link copied to clipboard
val nodeId: NodeId
The element id for which to force the pseudo state.

Sources

jvm source
Link copied to clipboard