appium-flutter-driver icon indicating copy to clipboard operation
appium-flutter-driver copied to clipboard

Richtext

Open Rajapriyan-leanix opened this issue 3 years ago • 4 comments

Can we able to find a element byText which is a RichText Widget

Rajapriyan-leanix avatar Jul 01 '22 10:07 Rajapriyan-leanix

Can it do with https://api.flutter.dev/flutter/flutter_driver/flutter_driver-library.html ? If not, perhaps this driver cannot do it

KazuCocoa avatar Jul 01 '22 16:07 KazuCocoa

Apologies for the delay in replay, I could able to locate the rich text widget but I need to extract the text from rich text which I couldn't able to do

Rajapriyan-leanix avatar Jul 13 '22 11:07 Rajapriyan-leanix

has anyone managed to solve this?

julianlieow avatar Sep 20 '23 07:09 julianlieow

It seems like you have to add a custom finder for a RichText widget and expose it to Flutter Driver using Flutter Driver Extensions. This article should give your fair idea. https://arturkorobeynyk.medium.com/using-custom-finders-and-custom-commands-with-flutter-driver-extension-advanced-level-44df0286922b

ostandsouza avatar Oct 28 '23 05:10 ostandsouza