Class DownloadFileWithCdp

java.lang.Object
com.codeborne.selenide.impl.DownloadFileWithCdp
Direct Known Subclasses:
DownloadFileFromGridWithCdp, DownloadFileFromSelenoidWithCdp

@ParametersAreNonnullByDefault public class DownloadFileWithCdp extends Object
  • Field Details

    • downloader

      protected final Downloader downloader
  • Constructor Details

    • DownloadFileWithCdp

      public DownloadFileWithCdp()
  • Method Details

    • getDownloadsFolder

      @Nullable protected DownloadsFolder getDownloadsFolder(Driver driver)
    • download

      @CheckReturnValue @Nonnull public File download(WebElementSource anyClickableElement, org.openqa.selenium.WebElement clickable, long timeout, long incrementTimeout, FileFilter fileFilter, DownloadAction action)
    • archiveFile

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