puppeteer/new-docs/puppeteer.protocol.css.ruleusage.md
2020-07-13 14:01:35 +01:00

1.2 KiB

Home > puppeteer > Protocol > CSS > RuleUsage

Protocol.CSS.RuleUsage interface

CSS coverage information.

Signature:

export interface RuleUsage 

Properties

Property Type Description
endOffset number Offset of the end of the rule body from the beginning of the stylesheet.
startOffset number Offset of the start of the rule (including selector) from the beginning of the stylesheet.
styleSheetId StyleSheetId The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
used boolean Indicates whether the rule was actually used by some element in the page.