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