For a browser extension, I am trying to access an element that is inside a frame, but it seems like I can't find the frame.
I tried the following
var frame = parent.frames["Interface"];
var frame = window.frames["Interface"];
Both return undefined
and I basically just don't understand how (if?) I can access this element, provided the information bellow:
The "achitecture" of the document is the following:
I need to access an element, using its ID, within the frame "Interface" that is somewhere in the body outlined in the image.
When I print the window
variable, I get the following: