createStyleSheet
suspend fun createStyleSheet(args: CSS.CreateStyleSheetParameter, mode: CommandMode = CommandMode.DEFAULT): CSS.CreateStyleSheetReturn
Creates a new special "via-inspector" stylesheet in the frame with given frameId
.
Creates a new special "via-inspector" stylesheet in the frame with given frameId
.
Parameters
frameId
Identifier of the frame where "via-inspector" stylesheet should be created.
force
If true, creates a new stylesheet for every call. If false, returns a stylesheet previously created by a call with force=false for the frame's document if it exists or creates a new stylesheet (default: false).