como obter elemento no iframe usando javascript
const iframe = document.getElementById("myIframe");
const iWindow = iframe.contentWindow;
const iDocument = iWindow.document;
// accessing the element
const element = iDocument.getElementsByTagName("p")[0];
element.style.color = "green";
Thoughtful Turtle