Home Reference Source
public class | source

CSSCoverage

Constructor Summary

Public Constructor
public

constructor(client: Chrome | CRIConnection | CDPSession | Object)

Member Summary

Private Members
private

_client: *

private
private
private
private
private

Method Summary

Public Methods
public

async start(options: {resetOnNavigation?: boolean}=)

public
Private Methods
private
private

async _onStyleSheet(event: Object)

Public Constructors

public constructor(client: Chrome | CRIConnection | CDPSession | Object) source

Params:

NameTypeAttributeDescription
client Chrome | CRIConnection | CDPSession | Object
  • nullable: false

Private Members

private _client: * source

private _enabled: boolean source

private _eventListeners: *[] source

private _resetOnNavigation: boolean source

private _stylesheetSources: * source

private _stylesheetURLs: * source

Public Methods

public async start(options: {resetOnNavigation?: boolean}=) source

Params:

NameTypeAttributeDescription
options {resetOnNavigation?: boolean}=

public async stop(): Promise<Array<CoverageEntry>> source

Private Methods

private _onExecutionContextsCleared() source

private async _onStyleSheet(event: Object) source

Params:

NameTypeAttributeDescription
event Object
  • nullable: false