Class DownloadFileToFolder

java.lang.Object
com.codeborne.selenide.impl.DownloadFileToFolder
Direct Known Subclasses:
DownloadFileFromGridToFolder, DownloadFileFromSelenoidToFolder

public class DownloadFileToFolder extends Object
  • Constructor Details

    • DownloadFileToFolder

      public DownloadFileToFolder()
  • Method Details

    • download

      public File download(WebElementSource link, org.openqa.selenium.WebElement clickable, long timeout, long incrementTimeout, FileFilter fileFilter, DownloadAction action)
    • getDownloadsFolder

      protected @Nullable DownloadsFolder getDownloadsFolder(Driver driver)
    • 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

      protected File archiveFile(Driver driver, File downloadedFile)