Open Rajapriyan-leanix opened 2 years ago
Can it do with https://api.flutter.dev/flutter/flutter_driver/flutter_driver-library.html ? If not, perhaps this driver cannot do it
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
has anyone managed to solve this?
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
Can we able to find a element byText which is a RichText Widget