You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Chrome DevTools protocol has a Profiler API, which adds a host of helpful methods for analyzing code. In our case in particular, we would like to make use of Profiler.takePreciseCoverage and Profiler.startPreciseCoverage to generate code coverage reports.
Overall I think this would look very similar to the Sources class but even simpler. A basic implementation of this API could be as simple as this:
The Chrome DevTools protocol has a
Profiler
API, which adds a host of helpful methods for analyzing code. In our case in particular, we would like to make use ofProfiler.takePreciseCoverage
andProfiler.startPreciseCoverage
to generate code coverage reports.Overall I think this would look very similar to the Sources class but even simpler. A basic implementation of this API could be as simple as this:
Obviously there's a million other things you could add and use, but really this is all we'd need to help get the information we want.
The text was updated successfully, but these errors were encountered: