
This change makes capturing components in CapturingRenderersFactory to dump data only they have previously captured any. This is so we can extend the CapturingRenderersFactory with more renderers that do not capture data in pre-existing tests and we don't have to change the golden files. PiperOrigin-RevId: 561973645