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
DevicePixelRatio
public Optional<double?>? DevicePixelRatio { get; init; }
Property Value
UserContexts
public IEnumerable<UserContext>? UserContexts { get; init; }
Property Value
Viewport
public Optional<Viewport?>? Viewport { get; init; }