So it automatically opens all of Array(1) or Array(n) in the console.
Note - I was thinking something like this might help from another SO question - $$('.console-view-object-properties-section').forEach(e => e.shadowRoot.querySelector('li').click())
but this returns nothing and it's likely pointing to an object and not an array.
Thanks
[enter image description here - image showing a bunch of Array1 uncollapsed in the browser.]1
Update - I have linked an image of what I would like to open automatically from and to images.