Class DownloadProgress
java.lang.Object
org.openqa.selenium.devtools.v138.browser.model.DownloadProgress
Fired when download makes progress. Last call has |done| == true.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDownloadProgress
(String guid, Number totalBytes, Number receivedBytes, DownloadProgress.State state, Optional<String> filePath) -
Method Summary
-
Constructor Details
-
DownloadProgress
-
-
Method Details
-
getGuid
Global unique identifier of the download. -
getTotalBytes
Total expected bytes to download. -
getReceivedBytes
Total bytes received. -
getState
Download status. -
getFilePath
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.
-