Class BackForwardCacheNotUsed
java.lang.Object
org.openqa.selenium.devtools.v141.page.model.BackForwardCacheNotUsed
Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do
not assume any ordering with the Page.frameNavigated event. This event is fired only for
main-frame history navigation where the document changes (non-same-document navigations),
when bfcache navigation fails.
-
Constructor Summary
ConstructorsConstructorDescriptionBackForwardCacheNotUsed(LoaderId loaderId, FrameId frameId, List<BackForwardCacheNotRestoredExplanation> notRestoredExplanations, Optional<BackForwardCacheNotRestoredExplanationTree> notRestoredExplanationsTree) -
Method Summary
Modifier and TypeMethodDescriptionThe frame id of the associated frame.The loader id for the associated navigation.Array of reasons why the page could not be cached.Tree structure of reasons why the page could not be cached for each frame.
-
Constructor Details
-
BackForwardCacheNotUsed
public BackForwardCacheNotUsed(LoaderId loaderId, FrameId frameId, List<BackForwardCacheNotRestoredExplanation> notRestoredExplanations, Optional<BackForwardCacheNotRestoredExplanationTree> notRestoredExplanationsTree)
-
-
Method Details
-
getLoaderId
The loader id for the associated navigation. -
getFrameId
The frame id of the associated frame. -
getNotRestoredExplanations
Array of reasons why the page could not be cached. This must not be empty. -
getNotRestoredExplanationsTree
Tree structure of reasons why the page could not be cached for each frame.
-