Table of Contents

Class GetLayoutMetricsCommandResponse

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

Response for Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

public sealed class GetLayoutMetricsCommandResponse : ICommandResponse<GetLayoutMetricsCommandSettings>, ICommandResponse
Inheritance
GetLayoutMetricsCommandResponse
Implements
Inherited Members
Extension Methods

Properties

ContentSize

Deprecated size of scrollable area. Is in DP. Use cssContentSize instead.

[JsonPropertyName("contentSize")]
public Rect ContentSize { get; set; }

Property Value

Rect

CssContentSize

Size of scrollable area in CSS pixels.

[JsonPropertyName("cssContentSize")]
public Rect CssContentSize { get; set; }

Property Value

Rect

CssLayoutViewport

Metrics relating to the layout viewport in CSS pixels.

[JsonPropertyName("cssLayoutViewport")]
public LayoutViewport CssLayoutViewport { get; set; }

Property Value

LayoutViewport

CssVisualViewport

Metrics relating to the visual viewport in CSS pixels.

[JsonPropertyName("cssVisualViewport")]
public VisualViewport CssVisualViewport { get; set; }

Property Value

VisualViewport

LayoutViewport

Deprecated metrics relating to the layout viewport. Is in device pixels. Use cssLayoutViewport instead.

[JsonPropertyName("layoutViewport")]
public LayoutViewport LayoutViewport { get; set; }

Property Value

LayoutViewport

VisualViewport

Deprecated metrics relating to the visual viewport. Is in device pixels. Use cssVisualViewport instead.

[JsonPropertyName("visualViewport")]
public VisualViewport VisualViewport { get; set; }

Property Value

VisualViewport