Table of Contents

Class DownloadWillBeginEventArgs

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

Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.

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

Constructors

DownloadWillBeginEventArgs(FrameId, string, string, string)

Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.

public DownloadWillBeginEventArgs(FrameId FrameId, string Guid, string Url, string SuggestedFilename)

Parameters

FrameId FrameId

Id of the frame that caused download to begin.

Guid string

Global unique identifier of the download.

Url string

URL of the resource being downloaded.

SuggestedFilename string

Suggested file name of the resource (the actual name of the file saved on disk may differ).

Properties

FrameId

Id of the frame that caused download to begin.

public FrameId FrameId { get; init; }

Property Value

FrameId

Guid

Global unique identifier of the download.

public string Guid { get; init; }

Property Value

string

SuggestedFilename

Suggested file name of the resource (the actual name of the file saved on disk may differ).

public string SuggestedFilename { get; init; }

Property Value

string

Url

URL of the resource being downloaded.

public string Url { get; init; }

Property Value

string