INNER CODE UNIT · Java
flutterSemanticsLabel
appium/java-client · src/main/java/io/appium/java_client/AppiumBy.java:252
public static FlutterBy flutterSemanticsLabel(final String semanticsLabel) {
return new ByFlutterSemanticsLabel(semanticsLabel);
}
/**
* This locator strategy is available in FlutterIntegration Driver mode since version 1.4.0.
*
* @param of represents the parent widget locator
* @param matching represents the descendant widget locator to match
* @param matchRoot determines whether to include the root widget in the search
* @param skipOffstage determines whether to skip offstage widgets
* @return an instance of {@link AppiumBy.ByFlutterDescendant}
*/
public static FlutterBy flutterDescendant(
final FlutterBy of,
final FlutterBy matching,
boolean matchRoot,
boolean skipOffstage) {