WebViewport
Namespace: E2E.Engine
public sealed record WebViewport : IEquatable<WebViewport>A page size in CSS pixels.
Inheritance: object
Implements: IEquatable<WebViewport>
Constructors
Section titled “Constructors”WebViewport(int, int)
Section titled “WebViewport(int, int)”public WebViewport(int Width, int Height)A page size in CSS pixels.
Parameters
| Name | Type | Description |
|---|---|---|
Width |
int | |
Height |
int |
Properties
Section titled “Properties”Default
Section titled “Default”public static WebViewport Default { get; }The size every attempt’s page starts with unless the options say otherwise: 1280 by 720.
Value: WebViewport
Height
Section titled “Height”public int Height { get; init; }Value: int
public int Width { get; init; }Value: int