org.unitils.selenium.downloader.impl
Class AbstractRobotDownloader
java.lang.Object
org.unitils.selenium.downloader.impl.AbstractRobotDownloader
- All Implemented Interfaces:
- RobotDownloader
- Direct Known Subclasses:
- RobotDownloaderIE9
public abstract class AbstractRobotDownloader
- extends java.lang.Object
- implements RobotDownloader
Abstract class with all the basic methods for the RobotDownloader.
- Since:
- 1.0.8
- Author:
- Willemijn Wouters
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRobotDownloader
public AbstractRobotDownloader()
getDownloadFolder
public java.io.File getDownloadFolder()
- Specified by:
getDownloadFolder in interface RobotDownloader
checkIfDownloadedFileExists
public void checkIfDownloadedFileExists(org.openqa.selenium.WebElement element)
- Specified by:
checkIfDownloadedFileExists in interface RobotDownloader
checkIfDownloadedFileExists
public void checkIfDownloadedFileExists(java.lang.String file)
- Specified by:
checkIfDownloadedFileExists in interface RobotDownloader
- See Also:
RobotDownloader.checkIfDownloadedFileExists(java.lang.String)
checkIfDownloadedFileExists
public void checkIfDownloadedFileExists(java.io.File expectedFile)
deleteDownloadedFile
public boolean deleteDownloadedFile(org.openqa.selenium.WebElement element)
- Specified by:
deleteDownloadedFile in interface RobotDownloader
deleteDownloadedFile
protected boolean deleteDownloadedFile(java.io.File expectedFile)
deleteDownloadedFile
public boolean deleteDownloadedFile(java.lang.String fileName)
- Specified by:
deleteDownloadedFile in interface RobotDownloader
- See Also:
RobotDownloader.deleteDownloadedFile(java.lang.String)
getDownloadedFile
public java.io.File getDownloadedFile(org.openqa.selenium.WebElement element)
- Specified by:
getDownloadedFile in interface RobotDownloader
getDownloadedFile
public java.io.File getDownloadedFile(java.lang.String fileName)
- Specified by:
getDownloadedFile in interface RobotDownloader
- See Also:
RobotDownloader.getDownloadedFile(java.lang.String)
getAttributesLocationFromElement
protected java.lang.String getAttributesLocationFromElement(org.openqa.selenium.WebElement element)
Copyright © 2015. All Rights Reserved.