Interface SupportsAndroidStorageOption<T extends BaseOptions<T>>

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

    public interface SupportsAndroidStorageOption<T extends BaseOptions<T>>
    extends org.openqa.selenium.Capabilities, CanSetCapability<T>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getAndroidStorage()
      Get the currently set storage type.
      default T setAndroidStorage​(java.lang.String storage)
      See https://firefox-source-docs.mozilla.org/testing/geckodriver /Flags.html#code-android-storage-var-android-storage-var-code
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • ANDROID_STORAGE_OPTION

        static final java.lang.String ANDROID_STORAGE_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setAndroidStorage

        default T setAndroidStorage​(java.lang.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 java.util.Optional<java.lang.String> getAndroidStorage()
        Get the currently set storage type.
        Returns:
        String representing the name of the device.