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

CSS coverage information.

Properties

styleSheetId: StyleSheetId

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

startOffset: number

Offset of the start of the rule (including selector) from the beginning of the stylesheet.

endOffset: number

Offset of the end of the rule body from the beginning of the stylesheet.

used: boolean

Indicates whether the rule was actually used by some element in the page.