Table of Contents

Class PreloadingAttemptKey

Namespace
Selenium.WebDriver.BiDi.Cdp.Preload
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

A key that identifies a preloading attempt.

The url used is the url specified by the trigger (i.e. the initial URL), and not the final url that is navigated to. For example, prerendering allows same-origin main frame navigations during the attempt, but the attempt is still keyed with the initial URL.

public sealed record PreloadingAttemptKey : IEquatable<PreloadingAttemptKey>
Inheritance
PreloadingAttemptKey
Implements
Inherited Members

Constructors

PreloadingAttemptKey(LoaderId, SpeculationAction, string)

A key that identifies a preloading attempt.

The url used is the url specified by the trigger (i.e. the initial URL), and not the final url that is navigated to. For example, prerendering allows same-origin main frame navigations during the attempt, but the attempt is still keyed with the initial URL.

public PreloadingAttemptKey(LoaderId LoaderId, SpeculationAction Action, string Url)

Parameters

LoaderId LoaderId
Action SpeculationAction
Url string

Properties

Action

public SpeculationAction Action { get; init; }

Property Value

SpeculationAction

FormSubmission

public bool? FormSubmission { get; init; }

Property Value

bool?

LoaderId

public LoaderId LoaderId { get; init; }

Property Value

LoaderId

TargetHint

public SpeculationTargetHint? TargetHint { get; init; }

Property Value

SpeculationTargetHint?

Url

public string Url { get; init; }

Property Value

string