Table of Contents

Class SetPrimaryScreenCommandSettings

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

Set primary screen. Only supported in headless mode. Note that this changes the coordinate system origin to the top-left of the new primary screen, updating the bounds and work areas of all existing screens accordingly.

public sealed class SetPrimaryScreenCommandSettings : ICommand
Inheritance
SetPrimaryScreenCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

ScreenId

Gets or sets the screenId

[JsonPropertyName("screenId")]
public string ScreenId { get; set; }

Property Value

string