Interface SupportsEnsureWebviewsHavePagesOption<T extends BaseOptions<T>>

    • Field Detail

      • ENSURE_WEBVIEWS_HAVE_PAGES_OPTION

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

      • ensureWebviewsHavePages

        default T ensureWebviewsHavePages()
        Set to skip web views that have no pages from being shown in getContexts output.
        Returns:
        self instance for chaining.
      • setEnsureWebviewsHavePages

        default T setEnsureWebviewsHavePages​(boolean value)
        Whether to skip web views that have no pages from being shown in getContexts output. The driver uses devtools connection to retrieve the information about existing pages. true by default since Appium 1.19.0, false if lower than 1.19.0.
        Parameters:
        value - Whether to ensure if web views have pages.
        Returns:
        self instance for chaining.
      • doesEnsureWebviewsHavePages

        default java.util.Optional<java.lang.Boolean> doesEnsureWebviewsHavePages()
        Get whether to ensure if web views have pages.
        Returns:
        True or false.