Currently, reporting injects a CSS utility that applies "display: none" to targeted elements. Given that we now have a screenshotMode plugin we should be able to drive this entirely from JS, with individual plugins managing which elements are hidden.
Additional notes
this is currently only used by preserve-layout screenshots.
Currently, reporting injects a CSS utility that applies "display: none" to targeted elements. Given that we now have a
screenshotMode
plugin we should be able to drive this entirely from JS, with individual plugins managing which elements are hidden.Additional notes
preserve-layout
screenshots.