Package com.codeborne.selenide.impl
Class DownloadFileToFolder
java.lang.Object
com.codeborne.selenide.impl.DownloadFileToFolder
- Direct Known Subclasses:
DownloadFileFromGridToFolder
,DownloadFileFromSelenoidToFolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected File
archiveFile
(Driver driver, File downloadedFile) download
(WebElementSource link, org.openqa.selenium.WebElement clickable, long timeout, long incrementTimeout, FileFilter fileFilter, DownloadAction action) protected void
failFastIfNoChanges
(Driver driver, DownloadsFolder folder, FileFilter filter, long start, long timeout, long incrementTimeout) protected DownloadsFolder
getDownloadsFolder
(Driver driver) protected void
waitWhileFilesAreBeingModified
(Driver driver, DownloadsFolder folder, long timeout, long pollingInterval)
-
Constructor Details
-
DownloadFileToFolder
public DownloadFileToFolder()
-
-
Method Details
-
download
@CheckReturnValue @Nonnull public File download(WebElementSource link, org.openqa.selenium.WebElement clickable, long timeout, long incrementTimeout, FileFilter fileFilter, DownloadAction action) -
getDownloadsFolder
-
waitWhileFilesAreBeingModified
protected void waitWhileFilesAreBeingModified(Driver driver, DownloadsFolder folder, long timeout, long pollingInterval) -
failFastIfNoChanges
protected void failFastIfNoChanges(Driver driver, DownloadsFolder folder, FileFilter filter, long start, long timeout, long incrementTimeout) -
archiveFile
-