INNER CODE UNIT · Java

flutterDescendant

appium/java-client · src/main/java/io/appium/java_client/AppiumBy.java:280

    public static FlutterBy flutterDescendant(final FlutterBy of, final FlutterBy matching) {
        return flutterDescendant(of, matching, false, true);
    }

    /**
     * This locator strategy is available in FlutterIntegration Driver mode since version 1.4.0.
     *
     * @param of represents the child widget locator
     * @param matching represents the ancestor widget locator to match
     * @param matchRoot determines whether to include the root widget in the search
     * @return an instance of {@link AppiumBy.ByFlutterAncestor}
     */
    public static FlutterBy flutterAncestor(final FlutterBy of, final FlutterBy matching, boolean matchRoot) {
        return new ByFlutterAncestor(of, matching, matchRoot);
    }

    /**
     * This locator strategy is available in FlutterIntegration Driver mode since version 1.4.0.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…