Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.CSS.AddRuleRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { AddRuleRequest } = Protocol.CSS;

Properties

styleSheetId: StyleSheetId

The css style sheet identifier where a new rule should be inserted.

ruleText: string

The text of a new rule.

location: SourceRange

Text position of a new rule in the target style sheet.