Thanks, unfortunately I still can't seem to get an array of elements using the following:
let elements=iframe_main.getElementsByClassName('sv-tile__btn sv-link-reset is-primary') ;
It just returns a collection of length 0 even though I know there are about 20 elements of this class on the iFrame page.