Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.js";
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.