puppeteer/test/assets/jscoverage/simple.html
Andrey Lushnikov d062381978
feat: Implement JavaScript Coverage (#1673)
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
79 B
HTML

<script>
function foo() {function bar() { } console.log(1); } foo(); </script>