Class Frame
- java.lang.Object
-
- org.openqa.selenium.devtools.page.model.Frame
-
public class Frame extends java.lang.ObjectInformation about the Frame on the page.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameIdgetId()Frame unique identifier.LoaderIdgetLoaderId()Identifier of the loader associated with this frame.java.lang.StringgetMimeType()Frame document's mimeType as determined by the browser.java.lang.StringgetName()Frame's name as specified in the tag.java.lang.StringgetParentId()Parent frame identifier.java.lang.StringgetSecurityOrigin()Frame document's security origin.java.lang.StringgetUnreachableUrl()If the frame failed to load, this contains the URL that could not be loaded.java.lang.StringgetUrl()Frame document's URL without fragment.java.lang.StringgetUrlFragment()Frame document's URL fragment including the '#'.
-
-
-
Method Detail
-
getId
public FrameId getId()
Frame unique identifier.
-
getParentId
public java.lang.String getParentId()
Parent frame identifier.
-
getLoaderId
public LoaderId getLoaderId()
Identifier of the loader associated with this frame.
-
getName
public java.lang.String getName()
Frame's name as specified in the tag.
-
getUrl
public java.lang.String getUrl()
Frame document's URL without fragment.
-
getUrlFragment
@Beta public java.lang.String getUrlFragment()
Frame document's URL fragment including the '#'.
-
getSecurityOrigin
public java.lang.String getSecurityOrigin()
Frame document's security origin.
-
getMimeType
public java.lang.String getMimeType()
Frame document's mimeType as determined by the browser.
-
getUnreachableUrl
@Beta public java.lang.String getUnreachableUrl()
If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
-
-