Skip to content

WebViewport

Namespace: E2E.Engine

public sealed record WebViewport : IEquatable<WebViewport>

A page size in CSS pixels.

Inheritance: object

Implements: IEquatable<WebViewport>

View source

public WebViewport(int Width, int Height)

A page size in CSS pixels.

Parameters

Name Type Description
Width int
Height int

View source

public static WebViewport Default { get; }

The size every attempt’s page starts with unless the options say otherwise: 1280 by 720.

Value: WebViewport

View source

public int Height { get; init; }

Value: int

View source

public int Width { get; init; }

Value: int

View source