Table of Contents

Class DownloadProgressEventArgs

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

Fired when download makes progress. Last call has |done| == true.

public sealed class DownloadProgressEventArgs : EventArgs
Inheritance
DownloadProgressEventArgs
Inherited Members

Properties

FilePath

If download is "completed", provides the path of the downloaded file. Depending on the platform, it is not guaranteed to be set, nor the file is guaranteed to exist.

[JsonPropertyName("filePath")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FilePath { get; set; }

Property Value

string

Guid

Global unique identifier of the download.

[JsonPropertyName("guid")]
public string Guid { get; set; }

Property Value

string

ReceivedBytes

Total bytes received.

[JsonPropertyName("receivedBytes")]
public double ReceivedBytes { get; set; }

Property Value

double

State

Download status.

[JsonPropertyName("state")]
public string State { get; set; }

Property Value

string

TotalBytes

Total expected bytes to download.

[JsonPropertyName("totalBytes")]
public double TotalBytes { get; set; }

Property Value

double