Table of Contents

Class FunctionCoverage

Namespace
Selenium.WebDriver.BiDi.Cdp.Profiler
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Coverage data for a JavaScript function.

public sealed record FunctionCoverage : IEquatable<FunctionCoverage>
Inheritance
FunctionCoverage
Implements
Inherited Members

Constructors

FunctionCoverage(string, ImmutableArray<CoverageRange>, bool)

Coverage data for a JavaScript function.

public FunctionCoverage(string FunctionName, ImmutableArray<CoverageRange> Ranges, bool IsBlockCoverage)

Parameters

FunctionName string

JavaScript function name.

Ranges ImmutableArray<CoverageRange>

Source ranges inside the function with coverage data.

IsBlockCoverage bool

Whether coverage data for this function has block granularity.

Properties

FunctionName

JavaScript function name.

public string FunctionName { get; init; }

Property Value

string

IsBlockCoverage

Whether coverage data for this function has block granularity.

public bool IsBlockCoverage { get; init; }

Property Value

bool

Ranges

Source ranges inside the function with coverage data.

public ImmutableArray<CoverageRange> Ranges { get; init; }

Property Value

ImmutableArray<CoverageRange>