Table of Contents

Class CoverageStartOptions

Namespace
PuppeteerSharp.PageCoverage
Assembly
PuppeteerSharp.dll

Set of configurable options for coverage.

public class CoverageStartOptions
Inheritance
CoverageStartOptions

Properties

IncludeRawScriptCoverage

Whether the result includes raw V8 script coverage entries.

public bool IncludeRawScriptCoverage { get; set; }

Property Value

bool

ReportAnonymousScripts

Whether anonymous scripts generated by the page should be reported.

public bool ReportAnonymousScripts { get; set; }

Property Value

bool

Remarks

Anonymous scripts are ones that don't have an associated url. These are scripts that are dynamically created on the page using eval or new Function. If ReportAnonymousScripts is set to true, anonymous scripts will have __puppeteer_evaluation_script__ as their URL.

ResetOnNavigation

Whether to reset coverage on every navigation. Defaults to true.

public bool ResetOnNavigation { get; set; }

Property Value

bool