Interface SupportsAllowTestPackagesOption<T extends BaseOptions<T>>

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

public interface SupportsAllowTestPackagesOption<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 T
    Enables usage of packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).
    default Optional<Boolean>
    Get whether it is possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).
    default T
    setAllowTestPackages(boolean value)
    If set to true then it would be possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).

    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

    • allowTestPackages

      default T allowTestPackages()
      Enables usage of packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).
      Returns:
      self instance for chaining.
    • setAllowTestPackages

      default T setAllowTestPackages(boolean value)
      If set to true then it would be possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command). false by default.
      Parameters:
      value - True to allow test packages installation.
      Returns:
      self instance for chaining.
    • doesAllowTestPackages

      default Optional<Boolean> doesAllowTestPackages()
      Get whether it is possible to use packages built with the test flag for the automated testing (literally adds -t flag to the adb install command).
      Returns:
      True or false.