INNER CODE UNIT · Java

androidDataMatcher

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

    public static By androidDataMatcher(final String dataMatcherString) {
        return new ByAndroidDataMatcher(dataMatcherString);
    }

    /**
     * Refer to <a href="https://developer.android.com/training/testing/ui-automator">UI Automator</a> .
     *
     * @param uiautomatorText is Android UIAutomator string
     * @return an instance of {@link ByAndroidUIAutomator}
     */
    public static By androidUIAutomator(final String uiautomatorText) {
        return new ByAndroidUIAutomator(uiautomatorText);
    }

    /**
     * This locator strategy is only available in Espresso Driver mode.
     *
     * @param viewMatcherString is a valid json string detailing hamcrest matcher for Espresso onView().

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…