Class DownloadWillBegin
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.browser.model.DownloadWillBegin
-
@Beta public class DownloadWillBegin extends java.lang.ObjectFired when page is about to start a download.
-
-
Constructor Summary
Constructors Constructor Description DownloadWillBegin(FrameId frameId, java.lang.String guid, java.lang.String url, java.lang.String suggestedFilename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameIdgetFrameId()Id of the frame that caused the download to begin.java.lang.StringgetGuid()Global unique identifier of the download.java.lang.StringgetSuggestedFilename()Suggested file name of the resource (the actual name of the file saved on disk may differ).java.lang.StringgetUrl()URL of the resource being downloaded.
-
-
-
Constructor Detail
-
DownloadWillBegin
public DownloadWillBegin(FrameId frameId, java.lang.String guid, java.lang.String url, java.lang.String suggestedFilename)
-
-
Method Detail
-
getFrameId
public FrameId getFrameId()
Id of the frame that caused the download to begin.
-
getGuid
public java.lang.String getGuid()
Global unique identifier of the download.
-
getUrl
public java.lang.String getUrl()
URL of the resource being downloaded.
-
getSuggestedFilename
public java.lang.String getSuggestedFilename()
Suggested file name of the resource (the actual name of the file saved on disk may differ).
-
-