CreateStyleSheetRequest

@Serializable
data class CreateStyleSheetRequest(val frameId: FrameId, val force: Boolean? = null)

Request object containing input parameters for the CSSDomain.createStyleSheet command.

Constructors

Link copied to clipboard
constructor(frameId: FrameId, force: Boolean? = null)

Types

Link copied to clipboard
class Builder(val frameId: FrameId)

A builder for CreateStyleSheetRequest, which allows setting the optional parameters of the CSSDomain.createStyleSheet command via a lambda.

Properties

Link copied to clipboard

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).

Link copied to clipboard

Identifier of the frame where "via-inspector" stylesheet should be created.