Interface SupportsChromedriverExecutableDirOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsChromedriverExecutableDirOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHROMEDRIVER_EXECUTABLE_DIR_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getChromedriverExecutableDir()
Get full path to the folder where chromedriver executables are located.default T
setChromedriverExecutableDir(java.lang.String path)
Full path to the folder where chromedriver executables are located.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CHROMEDRIVER_EXECUTABLE_DIR_OPTION
static final java.lang.String CHROMEDRIVER_EXECUTABLE_DIR_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setChromedriverExecutableDir
default T setChromedriverExecutableDir(java.lang.String path)
Full path to the folder where chromedriver executables are located. This folder is used then to store the downloaded chromedriver executables if automatic download is enabled. Read [Automatic Chromedriver Discovery](https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ web/chromedriver.md#automatic-discovery-of-compatible-chromedriver) article for more details.- Parameters:
path
- Path to chromedriver executable.- Returns:
- self instance for chaining.
-
getChromedriverExecutableDir
default java.util.Optional<java.lang.String> getChromedriverExecutableDir()
Get full path to the folder where chromedriver executables are located.- Returns:
- Path to chromedriver executable dir.
-
-