This website requires JavaScript.
Explore
Help
Sign In
thunderstrike
/
puppeteer
Watch
2
Star
0
Fork
0
You've already forked puppeteer
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
8626ccc742
puppeteer
/
test
/
assets
/
jscoverage
/
ranges.html
3 lines
98 B
HTML
Raw
Normal View
History
Unescape
Escape
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-03 03:53:53 +00:00
<
script
>
feat: add ability to collect JS code coverage at the function level (#9027)
2022-10-06 21:22:44 +00:00
function unused(){}console.log('used!');if(true===false)console.log('unused!');
<
/
script
>
Reference in New Issue
Copy Permalink