I am using selenium with java. To access the shadow-root, I am using JavascripExecutor (document.shadowRoot.querySelector)
I am able to interact with other elements inside of the page. but I am not able to get inside of this iframe and paste what I want over the text box.
this is how I am interacting with other elements :
WebElement selectSubError1 = (WebElement) jsExecutor.executeScript("return document.querySelector"); ((JavascriptExecutor) browser).executeScript("arguments[0].click();", selectSubError1);
please if you know the resolution of it, comment bellow.