forcePseudoState
suspend fun forcePseudoState(args: CSS.ForcePseudoStateParameter, mode: CommandMode = CommandMode.DEFAULT)
Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.
Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser.
Parameters
nodeId
The element id for which to force the pseudo state.
forcedPseudoClasses
Element pseudo classes to force when computing the element's style.