byType static method
Returns base64 encoded string as a finder for appium-flutter-driver
with the given type
.
https://github.com/truongsinh/appium-flutter-driver#finders
var finder = AppiumFlutterFinder.byTooltip('myText')
var element = driver.getElement(finder);
await element.click(); // Do actions against the element
Implementation
static String byType(String type) {
return base64.encode(utf8.encode(
json.encode({'finderType': 'ByType', 'type': type}).toString()));
}