Interface SupportsAutodownloadOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, 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 final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<Boolean> isAutodownloadEnabled()
      Get the auto download flag.
      Returns:
      auto download flag.