Interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>>

    • Field Detail

      • EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION

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

      • 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 java.util.Optional<java.lang.Boolean> doesExtractChromeAndroidPackageFromContextName()
        Get whether to use the android package identifier associated with the context name.
        Returns:
        True or false.