I think we need some more details. In general, we expect `getElementsByTagName` et al to work for elements in the main document however they are generated.
There are a few things that could make your test fail:
(1) the elements are being generated in Shadow DOM. Shadow DOM is encapsulated, which is to say, removed from the view of things like 'document.getElementsByTagName'. This is it's actual purpose, to hide DOM.
(2) You are calling 'document.getElementsByTagName' at the wrong time. You say 'after the document is loaded' but it's not clear what time you mean. The 'document' state has to do with the native parser and other features, but operations like data-binding and custom-element generation can happen a few ticks later.
Can you make a jsbin, pastebin, or gist that shows more details of what you are doing?