chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.css / CSSDomain / addRule

addRule

suspend fun addRule(input: AddRuleRequest): AddRuleResponse

Inserts a new rule with the given ruleText in a stylesheet with given styleSheetId, at the position specified by location.

Official doc