INNER CODE UNIT · Java
androidViewMatcher
appium/java-client · src/main/java/io/appium/java_client/AppiumBy.java:107
public static By androidViewMatcher(final String viewMatcherString) {
return new ByAndroidViewMatcher(viewMatcherString);
}
/**
* This locator strategy is available in Espresso Driver mode.
*
* @param tag is a view tag string
* @return an instance of {@link ByAndroidViewTag}
* @since Appium 1.8.2 beta
*/
public static By androidViewTag(final String tag) {
return new ByAndroidViewTag(tag);
}
/**
* For IOS it is the full name of the XCUI element and begins with XCUIElementType.
* For Android it is the full name of the UIAutomator2 class (e.g.: android.widget.TextView)