CoverageStartOptions
Namespace: PuppeteerSharp.PageCoverage
public class CoverageStartOptionsSet of configurable options for coverage.
Inheritance: object
Properties
Section titled “Properties”IncludeRawScriptCoverage
Section titled “IncludeRawScriptCoverage”public bool IncludeRawScriptCoverage { get; set; }Whether the result includes raw V8 script coverage entries.
Value: bool
ReportAnonymousScripts
Section titled “ReportAnonymousScripts”public bool ReportAnonymousScripts { get; set; }Whether anonymous scripts generated by the page should be reported.
Value: bool
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
Section titled “ResetOnNavigation”public bool ResetOnNavigation { get; set; }Whether to reset coverage on every navigation. Defaults to true.
Value: bool
UseBlockCoverage
Section titled “UseBlockCoverage”public bool UseBlockCoverage { get; set; }Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level.
Value: bool
Made with love by Dario Kondratiuk