Class Downloads

java.lang.Object
com.codeborne.selenide.impl.Downloads

@ParametersAreNonnullByDefault public class Downloads extends Object
  • Constructor Details

  • Method Details

    • clear

      public void clear()
    • add

      public void add(DownloadedFile file)
    • files

      @CheckReturnValue @Nonnull public List<DownloadedFile> files()
    • files

      @CheckReturnValue @Nonnull public List<DownloadedFile> files(FileFilter fileFilter)
    • firstMatchingFile

      @CheckReturnValue @Nonnull public Optional<DownloadedFile> firstMatchingFile(FileFilter fileFilter)
    • filesAsString

      @CheckReturnValue @Nonnull public String filesAsString()
    • size

      public int size()
    • firstDownloadedFile

      @CheckReturnValue @Nonnull public File firstDownloadedFile(long timeout, FileFilter fileFilter)