Interface SupportsChromedriverUseSystemExecutableOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsChromedriverUseSystemExecutableOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHROMEDRIVER_USE_SYSTEM_EXECUTABLE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default T
chromedriverUseSystemExecutable()
Enforce the usage of chromedriver, which gets downloaded by Appium automatically upon installation.default java.util.Optional<java.lang.Boolean>
doesChromedriverUseSystemExecutable()
Get whether to use the system chromedriver.default T
setChromedriverUseSystemExecutable(boolean value)
Set it to true in order to enforce the usage of chromedriver, which gets downloaded by Appium automatically upon installation.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CHROMEDRIVER_USE_SYSTEM_EXECUTABLE_OPTION
static final java.lang.String CHROMEDRIVER_USE_SYSTEM_EXECUTABLE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
chromedriverUseSystemExecutable
default T chromedriverUseSystemExecutable()
Enforce the usage of chromedriver, which gets downloaded by Appium automatically upon installation.- Returns:
- self instance for chaining.
-
setChromedriverUseSystemExecutable
default T setChromedriverUseSystemExecutable(boolean value)
Set it to true in order to enforce the usage of chromedriver, which gets downloaded by Appium automatically upon installation. This driver might not be compatible with the destination browser or a web view. false by default.- Parameters:
value
- Whether to use the system chromedriver.- Returns:
- self instance for chaining.
-
doesChromedriverUseSystemExecutable
default java.util.Optional<java.lang.Boolean> doesChromedriverUseSystemExecutable()
Get whether to use the system chromedriver.- Returns:
- True or false.
-
-