Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.CSS.RuleUsage

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.CSS.RuleUsage
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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.