Re:CSS and JS code coverage in Chrome DevTools
by cshenoy on Wednesday July 12, 2017 @09:25AM
(#14752284)
There's a record button in the Coverage tab - the solid filled circle. Allows you to record over multiple pages (either a SPA or normal site).
Re:CSS and JS code coverage in Chrome DevTools
by TekMol on Wednesday July 12, 2017 @09:26AM
(#14752292)
It looks like it does that. But the results are only for the last page.
I tried it by triggering function A on page 1 and function B on page 2.
The report showed function A as not used.
Re:CSS and JS code coverage in Chrome DevTools
by laurencei on Wednesday July 12, 2017 @10:09AM
(#14752612)
I wonder if it is a bug perhaps?
Re:CSS and JS code coverage in Chrome DevTools
by rockostrich on Wednesday July 12, 2017 @09:23AM
(#14752265)
It should be able to record over a SPA if there are no hard reloads. I don't think it can record over multiple pages though.
But this now sounds like a coverage tool for a single page?
Does anyone know if it can record over multiple pages and/or application usage (such as an SPA)?