Table of Contents

Class CreateStyleSheetCommandSettings

Namespace
OpenQA.Selenium.DevTools.V148.CSS
Assembly
Selenium.WebDriver.dll

Creates a new special "via-inspector" stylesheet in the frame with given frameId.

public sealed class CreateStyleSheetCommandSettings : ICommand
Inheritance
CreateStyleSheetCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

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

[JsonPropertyName("force")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Force { get; set; }

Property Value

bool?

FrameId

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

[JsonPropertyName("frameId")]
public string FrameId { get; set; }

Property Value

string