Table of Contents

Class FrameStartedNavigatingEventArgs

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

Fired when a navigation starts. This event is fired for both renderer-initiated and browser-initiated navigations. For renderer-initiated navigations, the event is fired after frameRequestedNavigation. Navigation may still be cancelled after the event is issued. Multiple events can be fired for a single navigation, for example, when a same-document navigation becomes a cross-document navigation (such as in the case of a frameset).

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

Constructors

FrameStartedNavigatingEventArgs(FrameId, string, LoaderId, string)

Fired when a navigation starts. This event is fired for both renderer-initiated and browser-initiated navigations. For renderer-initiated navigations, the event is fired after frameRequestedNavigation. Navigation may still be cancelled after the event is issued. Multiple events can be fired for a single navigation, for example, when a same-document navigation becomes a cross-document navigation (such as in the case of a frameset).

public FrameStartedNavigatingEventArgs(FrameId FrameId, string Url, LoaderId LoaderId, string NavigationType)

Parameters

FrameId FrameId

ID of the frame that is being navigated.

Url string

The URL the navigation started with. The final URL can be different.

LoaderId LoaderId

Loader identifier. Even though it is present in case of same-document navigation, the previously committed loaderId would not change unless the navigation changes from a same-document to a cross-document navigation.

NavigationType string

Properties

FrameId

ID of the frame that is being navigated.

public FrameId FrameId { get; init; }

Property Value

FrameId

LoaderId

Loader identifier. Even though it is present in case of same-document navigation, the previously committed loaderId would not change unless the navigation changes from a same-document to a cross-document navigation.

public LoaderId LoaderId { get; init; }

Property Value

LoaderId

NavigationType

public string NavigationType { get; init; }

Property Value

string

Url

The URL the navigation started with. The final URL can be different.

public string Url { get; init; }

Property Value

string