Package com.codeborne.selenide
Class BrowserDownloadsFolder
java.lang.Object
com.codeborne.selenide.BrowserDownloadsFolder
- All Implemented Interfaces:
DownloadsFolder
- Direct Known Subclasses:
SharedDownloadsFolder
@ParametersAreNonnullByDefault
public class BrowserDownloadsFolder
extends Object
implements DownloadsFolder
A unique folder per browser.
It effectively means that Selenide can delete all files in this folder before starting every new download.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
files()
filesNewerThan
(long modifiedAfterTs) static BrowserDownloadsFolder
getPath()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.codeborne.selenide.DownloadsFolder
filesAsString, hasFiles, lastModificationTime, modificationTimes
-
Constructor Details
-
BrowserDownloadsFolder
-
-
Method Details
-
getFolder
-
files
- Specified by:
files
in interfaceDownloadsFolder
-
filesNewerThan
- Specified by:
filesNewerThan
in interfaceDownloadsFolder
-
file
-
cleanupBeforeDownload
public void cleanupBeforeDownload()- Specified by:
cleanupBeforeDownload
in interfaceDownloadsFolder
-
deleteIfEmpty
public void deleteIfEmpty()- Specified by:
deleteIfEmpty
in interfaceDownloadsFolder
-
getPath
- Specified by:
getPath
in interfaceDownloadsFolder
-
toString
-
from
-