Interface SupportsAndroidStorageOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
GeckoOptions

public interface SupportsAndroidStorageOption<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<String>
    Get the currently set storage type.
    default T
    See https://firefox-source-docs.mozilla.org/testing/geckodriver /Flags.html#code-android-storage-var-android-storage-var-code

    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

    • setAndroidStorage

      default T setAndroidStorage(String storage)
      See https://firefox-source-docs.mozilla.org/testing/geckodriver /Flags.html#code-android-storage-var-android-storage-var-code
      Parameters:
      storage - One of supported Android storage types.
      Returns:
      self instance for chaining.
    • getAndroidStorage

      default Optional<String> getAndroidStorage()
      Get the currently set storage type.
      Returns:
      String representing the name of the device.