0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/test/assets/jscoverage/ranges.html
Andrey Lushnikov d062381978
feat: Implement JavaScript Coverage ()
This patch introduces a new `page.coverage` namespace with two methods:
- `page.coverage.startJSCoverage` to initiate JavaScript coverage
  recording
- `page.coverage.stopJSCoverage` to stop JavaScript coverage and get
  results
2018-01-02 19:53:53 -08:00

3 lines
59 B
HTML

<script>
function unused(){}console.log('used!');</script>