Class DownloadFileToFolder

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

@ParametersAreNonnullByDefault public class DownloadFileToFolder extends Object
  • 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

      @Nullable protected 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

      @Nonnull protected File archiveFile(Driver driver, File downloadedFile)