Table of Contents

Class FrameRequestedNavigationEventArgs

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

Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.

public sealed record FrameRequestedNavigationEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<FrameRequestedNavigationEventArgs>
Inheritance
EventArgs
FrameRequestedNavigationEventArgs
Implements
IEquatable<EventArgs>
Inherited Members
EventArgs.ToString()
EventArgs.GetHashCode()
EventArgs.Equals(EventArgs)
EventArgs.<Clone>$()
EventArgs.BiDi
EventArgs.AdditionalData
EventArgs.AdditionalMessageData

Constructors

FrameRequestedNavigationEventArgs(FrameId, ClientNavigationReason, string, ClientNavigationDisposition)

Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.

public FrameRequestedNavigationEventArgs(FrameId FrameId, ClientNavigationReason Reason, string Url, ClientNavigationDisposition Disposition)

Parameters

FrameId FrameId

Id of the frame that is being navigated.

Reason ClientNavigationReason

The reason for the navigation.

Url string

The destination URL for the requested navigation.

Disposition ClientNavigationDisposition

The disposition for the navigation.

Properties

Disposition

The disposition for the navigation.

public ClientNavigationDisposition Disposition { get; init; }

Property Value

ClientNavigationDisposition

FrameId

Id of the frame that is being navigated.

public FrameId FrameId { get; init; }

Property Value

FrameId

Reason

The reason for the navigation.

public ClientNavigationReason Reason { get; init; }

Property Value

ClientNavigationReason

Url

The destination URL for the requested navigation.

public string Url { get; init; }

Property Value

string