Class DownloadManager


  • public class DownloadManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DownloadManager()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void deleteAllFiles()  
      protected static java.io.File getFile​(java.lang.String fileName)  
      static boolean isFileDownload​(java.lang.String fileName)  
      static boolean isFileDownload​(java.lang.String fileName, org.openqa.selenium.WebDriver driver, long timeToWait)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DownloadManager

        public DownloadManager()
    • Method Detail

      • getFile

        protected static java.io.File getFile​(java.lang.String fileName)
      • deleteAllFiles

        public static void deleteAllFiles()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • isFileDownload

        public static boolean isFileDownload​(java.lang.String fileName)
      • isFileDownload

        public static boolean isFileDownload​(java.lang.String fileName,
                                             org.openqa.selenium.WebDriver driver,
                                             long timeToWait)