Class FrameResource
- java.lang.Object
-
- org.openqa.selenium.devtools.page.model.FrameResource
-
@Beta public class FrameResource extends java.lang.ObjectInformation about the Resource on the page.
-
-
Constructor Summary
Constructors Constructor Description FrameResource(java.lang.String url, ResourceType type, java.lang.String mimeType, TimeSinceEpoch lastModified, java.lang.Number contentSize, java.lang.Boolean failed, java.lang.Boolean canceled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetCanceled()True if the resource was canceled during loading.java.lang.NumbergetContentSize()Resource content size.java.lang.BooleangetFailed()True if the resource failed to load.TimeSinceEpochgetLastModified()last-modified timestamp as reported by server.java.lang.StringgetMimeType()Resource mimeType as determined by the browser.ResourceTypegetType()Type of this resource.java.lang.StringgetUrl()Resource URL.
-
-
-
Constructor Detail
-
FrameResource
public FrameResource(java.lang.String url, ResourceType type, java.lang.String mimeType, TimeSinceEpoch lastModified, java.lang.Number contentSize, java.lang.Boolean failed, java.lang.Boolean canceled)
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Resource URL.
-
getType
public ResourceType getType()
Type of this resource.
-
getMimeType
public java.lang.String getMimeType()
Resource mimeType as determined by the browser.
-
getLastModified
public TimeSinceEpoch getLastModified()
last-modified timestamp as reported by server.
-
getContentSize
public java.lang.Number getContentSize()
Resource content size.
-
getFailed
public java.lang.Boolean getFailed()
True if the resource failed to load.
-
getCanceled
public java.lang.Boolean getCanceled()
True if the resource was canceled during loading.
-
-