Interface SupportsUninstallOtherPackagesOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getUninstallOtherPackages()
      Get identifiers of packages to be uninstalled from the device before a test starts.
      default T setUninstallOtherPackages​(java.lang.String packages)
      Allows to set one or more comma-separated package identifiers to be uninstalled from the device before a test starts.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • UNINSTALL_OTHER_PACKAGES_OPTION

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

      • setUninstallOtherPackages

        default T setUninstallOtherPackages​(java.lang.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 java.util.Optional<java.lang.String> getUninstallOtherPackages()
        Get identifiers of packages to be uninstalled from the device before a test starts.
        Returns:
        Comma-separated package identifiers.