Interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>>

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

public interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Details

    • EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION

      static final String EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION
      See Also:
  • Method Details

    • extractChromeAndroidPackageFromContextName

      default T extractChromeAndroidPackageFromContextName()
      Tell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test.
      Returns:
      self instance for chaining.
    • setExtractChromeAndroidPackageFromContextName

      default T setExtractChromeAndroidPackageFromContextName(boolean value)
      If set to true, tell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test. false by default.
      Parameters:
      value - Whether to use the android package identifier associated with the context name.
      Returns:
      self instance for chaining.
    • doesExtractChromeAndroidPackageFromContextName

      default Optional<Boolean> doesExtractChromeAndroidPackageFromContextName()
      Get whether to use the android package identifier associated with the context name.
      Returns:
      True or false.