Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.CSS.ForcePseudoStateRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ForcePseudoStateRequest } = Protocol.CSS;

Properties

nodeId: DOM.NodeId

The element id for which to force the pseudo state.

forcedPseudoClasses: string[]

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