Interface SupportsUninstallOtherPackagesOption<T extends BaseOptions<T>>

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

public interface SupportsUninstallOtherPackagesOption<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 identifiers of packages to be uninstalled from the device before a test starts.
    default T
    Allows to set one or more comma-separated package identifiers to be uninstalled from the device before a test starts.

    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

    • setUninstallOtherPackages

      default T setUninstallOtherPackages(String packages)
      Allows to set one or more comma-separated package identifiers to be uninstalled from the device before a test starts.
      Parameters:
      packages - one or more comma-separated package identifiers to uninstall.
      Returns:
      self instance for chaining.
    • getUninstallOtherPackages

      default Optional<String> getUninstallOtherPackages()
      Get identifiers of packages to be uninstalled from the device before a test starts.
      Returns:
      Comma-separated package identifiers.