Interface SupportsAutodownloadOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
ChromiumOptions
public interface SupportsAutodownloadOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTODOWNLOAD_ENABLED
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
isAutodownloadEnabled()
Get the auto download flag.default T
setAutodownloadEnabled(boolean autodownloadEnabled)
Set to false for disabling automatic downloading of Chrome drivers.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
AUTODOWNLOAD_ENABLED
static final java.lang.String AUTODOWNLOAD_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAutodownloadEnabled
default T setAutodownloadEnabled(boolean autodownloadEnabled)
Set to false for disabling automatic downloading of Chrome drivers. Unless disable build check preference has been user-set, the capability is present because the default value is true.- Parameters:
autodownloadEnabled
- flag.- Returns:
- self instance for chaining.
-
isAutodownloadEnabled
default java.util.Optional<java.lang.Boolean> isAutodownloadEnabled()
Get the auto download flag.- Returns:
- auto download flag.
-
-