Table of Contents

Class SetViewportOptions

Namespace
OpenQA.Selenium.BiDi.BrowsingContext
Assembly
Selenium.WebDriver.dll
public sealed record SetViewportOptions : CommandOptions, IEquatable<CommandOptions>, IEquatable<SetViewportOptions>
Inheritance
SetViewportOptions
Implements
Inherited Members

Properties

Context

public BrowsingContext? Context { get; init; }

Property Value

BrowsingContext

DevicePixelRatio

public Optional<double?>? DevicePixelRatio { get; init; }

Property Value

Optional<double?>?

UserContexts

public IEnumerable<UserContext>? UserContexts { get; init; }

Property Value

IEnumerable<UserContext>

Viewport

public Optional<Viewport?>? Viewport { get; init; }

Property Value

Optional<Viewport?>?