Table of Contents

Class AdMetrics

Namespace
OpenQA.Selenium.DevTools.V150.Ads
Assembly
Selenium.WebDriver.dll

Ad metrics for a page.

public sealed class AdMetrics
Inheritance
AdMetrics
Inherited Members

Properties

AverageViewportAdCount

The time-weighted average of the viewport ad count, measured across the duration of the page.

[JsonPropertyName("averageViewportAdCount")]
public double AverageViewportAdCount { get; set; }

Property Value

double

AverageViewportAdDensityByArea

The time-weighted average of the viewport ad density by area, measured across the duration of the page.

[JsonPropertyName("averageViewportAdDensityByArea")]
public double AverageViewportAdDensityByArea { get; set; }

Property Value

double

TotalAdCpuTime

The total ad CPU usage, in milliseconds.

[JsonPropertyName("totalAdCpuTime")]
public double TotalAdCpuTime { get; set; }

Property Value

double

TotalAdNetworkBytes

The total ad network bytes.

[JsonPropertyName("totalAdNetworkBytes")]
public double TotalAdNetworkBytes { get; set; }

Property Value

double

ViewportAdCount

The number of ads currently visible within the viewport.

[JsonPropertyName("viewportAdCount")]
public long ViewportAdCount { get; set; }

Property Value

long

ViewportAdDensityByArea

The viewport ad density by area, represented as a percentage (an integer between 0 and 100).

[JsonPropertyName("viewportAdDensityByArea")]
public long ViewportAdDensityByArea { get; set; }

Property Value

long