Interface SupportsAllowTestPackagesOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      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).
      default java.util.Optional<java.lang.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).
      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 org.openqa.selenium.Capabilities

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

      • ALLOW_TEST_PACKAGES_OPTION

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

      • 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 java.util.Optional<java.lang.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.