public class InternetExplorerBinaryHandler extends AbstractBinaryHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
IE_SYSTEM_DRIVER_BINARY_PROPERTY |
DOWNLOAD_BINARIES_PROPERTY| Constructor and Description |
|---|
InternetExplorerBinaryHandler(org.openqa.selenium.remote.DesiredCapabilities capabilities) |
| Modifier and Type | Method and Description |
|---|---|
File |
downloadAndPrepare()
This method consist of four steps:
|
protected String |
getArquillianCacheSubdirectory()
Name of the subdirectory that should be used for this binary handler in the Drone cache directory
($HOME/.arquillian/drone) |
protected String |
getBinaryProperty()
This method should return a capability property name which a path to an executable binary could be stored under
|
protected org.openqa.selenium.remote.DesiredCapabilities |
getCapabilities()
This method should return a desired capabilities with stored properties
|
protected String |
getDesiredVersionProperty()
This method should return a capability property name which a desired version of a binary could be stored under
|
protected ExternalBinarySource |
getExternalBinarySource()
This method should return an instance of an
ExternalBinary that should be used for retrieving available
releases of a binary |
String |
getSystemBinaryProperty()
This method should return a system property name which a path to an executable binary should be stored under
|
protected String |
getUrlToDownloadProperty()
This method should return a capability property name which a url pointing to a desired binary could be stored under
|
checkAndSetBinary, downloadAndPrepare, downloadAndPrepare, markAsExecutable, setBinaryAsSystemPropertypublic static final String IE_SYSTEM_DRIVER_BINARY_PROPERTY
public InternetExplorerBinaryHandler(org.openqa.selenium.remote.DesiredCapabilities capabilities)
protected String getArquillianCacheSubdirectory()
AbstractBinaryHandler($HOME/.arquillian/drone)getArquillianCacheSubdirectory in class AbstractBinaryHandlerprotected String getDesiredVersionProperty()
AbstractBinaryHandlergetDesiredVersionProperty in class AbstractBinaryHandlerprotected String getUrlToDownloadProperty()
AbstractBinaryHandlergetUrlToDownloadProperty in class AbstractBinaryHandlerprotected ExternalBinarySource getExternalBinarySource()
AbstractBinaryHandlerExternalBinary that should be used for retrieving available
releases of a binarygetExternalBinarySource in class AbstractBinaryHandlerExternalBinary that should be used for retrieving available releases of a binaryprotected org.openqa.selenium.remote.DesiredCapabilities getCapabilities()
AbstractBinaryHandlergetCapabilities in class AbstractBinaryHandlerprotected String getBinaryProperty()
AbstractBinaryHandlergetBinaryProperty in class AbstractBinaryHandlerpublic String getSystemBinaryProperty()
AbstractBinaryHandlergetSystemBinaryProperty in interface BinaryHandlergetSystemBinaryProperty in class AbstractBinaryHandlerpublic File downloadAndPrepare() throws Exception
AbstractBinaryHandlerAbstractBinaryHandler.getUrlToDownloadProperty() and
AbstractBinaryHandler.getDesiredVersionProperty().
If there is set only the desired version, then a binary with the specified version is downloaded using an external
binary source (AbstractBinaryHandler.getExternalBinarySource())
If there is set neither a url nor a desired version, then a binary with the latest version is downloaded using the external binary source.
Directory where the downloaded file is stored depends on set properties. If there is set the desired version,
or if the latest version is downloaded then the file is stored in:
$HOME/.arquillian/drone/ + AbstractBinaryHandler.getArquillianCacheSubdirectory()
+ / + version
If the version is not set, then the file is stored in: target/drone/downloaded
target/drone/md5hash(downloaded_file)/
downloadAndPrepare in interface BinaryHandlerdownloadAndPrepare in class AbstractBinaryHandlerException - If anything bad happensCopyright © 2017 JBoss by Red Hat. All rights reserved.