Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.CSS.ForcePseudoStateRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ForcePseudoStateRequest } = Protocol.CSS;

Properties

nodeId: DOM.NodeId

The element id for which to force the pseudo state.

forcedPseudoClasses: string[]

Element pseudo classes to force when computing the element's style.