frameElement
Returns the frame element associated with this frame.Returns the ElementHandle for the <iframe> or <frame> tag for this frame. Returns null for the main frame.
Return value
page
Returns the page containing this frame.Returns the cached page reference passed at construction time.
Return value
name
Returns frame’s name attribute as specified in the tag.If the name is empty, returns the id attribute instead. Returns empty string if both name and id are empty.
Return value
parentFrame
Parent frame, if any. Detached frames and main frames return null. Upstream docsReturn value
childFrames
Returns child frames of this frame. Upstream docsReturn value
addScriptTag
Adds a <script> tag into the page with the desired url or content.Returns the added tag when the script’s onload fires or when the script content was injected into frame.
Return value
addStyleTag
Adds a <style> tag into the page with the desired url or content.Returns the added tag when the stylesheet’s onload fires or when the CSS content was injected into frame.
Return value

