-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding enableFlutterDriverExtension() disables keyboard on the app #417
Comments
I just added ValueKey to the TextField key parameter in my POC Flutter app
and locating it with byValueKey method. It allows appium-flutter-driver type text there.
But in our production Flutter app we are using ObjectKey instead of ValueKey and I don't know yet how to locate TextFields with appium-flutter-driver by ObjectKey. Investigating it now.. |
Or in Flutter app add parameter enableTextEntryEmulation in enableFlutterDriverExtension() method For my Appium framework it works this way:
|
I have added the parameter |
Are you using FlutterFinder class or IOSDriver to send a text? I guess enableTextEntryEmulation option disabling text input for FlutterFinder but enabling text input for Appium driver class IOSDriver |
Thanks for the direction @denysord88 . I think I've got it working for my purpose. Here's what I did:
|
Added a link to this ticket from https://github.com/appium/appium-flutter-driver/blob/main/README.md#troubleshooting (as a troubleshooting) |
We are building our tests using appium and flutter driver to test our flutter app. The problem we are facing is after adding the enableFlutterDriverExtension() in main.dart file (as mentioned in the documentation), the soft keyboard on the phone stops showing up and doesn't allow any text entry in edit box widgets. This problem goes away once we remove the enableFlutterDriverExtension() statement. So, we are in a fix. Is there any solution to this problem?
The text was updated successfully, but these errors were encountered: