Table of Contents

Class BackForwardCacheNotUsedEventArgs

Namespace
OpenQA.Selenium.DevTools.V148.Page
Assembly
Selenium.WebDriver.dll

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.

public sealed class BackForwardCacheNotUsedEventArgs : EventArgs
Inheritance
BackForwardCacheNotUsedEventArgs
Inherited Members

Properties

FrameId

The frame id of the associated frame.

[JsonPropertyName("frameId")]
public string FrameId { get; set; }

Property Value

string

LoaderId

The loader id for the associated navigation.

[JsonPropertyName("loaderId")]
public string LoaderId { get; set; }

Property Value

string

NotRestoredExplanations

Array of reasons why the page could not be cached. This must not be empty.

[JsonPropertyName("notRestoredExplanations")]
public BackForwardCacheNotRestoredExplanation[] NotRestoredExplanations { get; set; }

Property Value

BackForwardCacheNotRestoredExplanation[]

NotRestoredExplanationsTree

Tree structure of reasons why the page could not be cached for each frame.

[JsonPropertyName("notRestoredExplanationsTree")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public BackForwardCacheNotRestoredExplanationTree? NotRestoredExplanationsTree { get; set; }

Property Value

BackForwardCacheNotRestoredExplanationTree