Skip to main content
Coverage panel. start records JavaScript and CSS usage; stop reports per-file used/unused bytes; detail lists the unused ranges of one file with line numbers and snippets.
The tool names stay the same across browsers. See browser selection and Firefox and Zen exceptions before choosing an operation.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
enum
required
One of: start, stop, detail.
string
 
integer
 
boolean
start: reload after enabling so every function is instrumented (default true, like the DevTools Coverage panel)

Example