Class Frame
- java.lang.Object
-
- org.openqa.selenium.devtools.page.model.Frame
-
public class Frame extends java.lang.Object
Information about the Frame on the page.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameId
getId()
Frame unique identifier.LoaderId
getLoaderId()
Identifier of the loader associated with this frame.java.lang.String
getMimeType()
Frame document's mimeType as determined by the browser.java.lang.String
getName()
Frame's name as specified in the tag.java.lang.String
getParentId()
Parent frame identifier.java.lang.String
getSecurityOrigin()
Frame document's security origin.java.lang.String
getUnreachableUrl()
If the frame failed to load, this contains the URL that could not be loaded.java.lang.String
getUrl()
Frame document's URL without fragment.java.lang.String
getUrlFragment()
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.
-
-