I have an app running within a webpage. Basically the form is in a different frame and my code is in different frame.
When trying to access the parent frame I'm getting the below error:
Uncaught (in promise) DOMException: Blocked a frame with origin "http://localhost:10001" from accessing a cross-origin frame.
I will not be able to change the domains of both the page to same as I don't have access to the complete document.
Is there a workaround to access the element from another frame.