public class ChromeDriverBinaryHandler extends AbstractBinaryHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ChromeDriverBinaryHandler.ChromeStorageSources |
| Modifier and Type | Field and Description |
|---|---|
static String |
CHROME_DRIVER_BINARY_NAME |
static String |
CHROME_DRIVER_BINARY_PROPERTY |
static String |
CHROME_SYSTEM_DRIVER_BINARY_PROPERTY |
DOWNLOAD_BINARIES_PROPERTY| Constructor and Description |
|---|
ChromeDriverBinaryHandler(org.openqa.selenium.remote.DesiredCapabilities capabilities) |
| Modifier and Type | Method and Description |
|---|---|
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
|
protected File |
prepare(File downloaded)
Takes care of the preparation - extraction/move of downloaded file & marking as executable
|
checkAndSetBinary, createAndGetCacheDirectory, downloadAndPrepare, downloadAndPrepare, downloadAndPrepare, markAsExecutable, setBinaryAsSystemPropertypublic static final String CHROME_SYSTEM_DRIVER_BINARY_PROPERTY
public static final String CHROME_DRIVER_BINARY_PROPERTY
public static final String CHROME_DRIVER_BINARY_NAME
public ChromeDriverBinaryHandler(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 AbstractBinaryHandlerprotected File prepare(File downloaded) throws Exception
AbstractBinaryHandlerprepare in class AbstractBinaryHandlerdownloaded - The downloaded file to prepareException - If anything bad happensCopyright © 2023 JBoss by Red Hat. All rights reserved.