You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a Flutter application and using Flutter Driver for automated testing. In my test script, I'm attempting to retrieve the text of an element with the value key "imprint_link."
Expected Behavior:
I expect to be able to retrieve the text of the element with the value key "imprint_link" using the getText() method.
Current Behavior:
When I try to get the text of the element using fnd.byValueKey("imprint_link").getText(), I encounter the following error:
{
"isError": true,
"response": "Uncaught extension error while executing get_text: Unsupported operation: Type Text is currently not supported by getText\n#0 CommandHandlerFactory._getText (package:flutter_driver/src/common/handler_factory.dart:422:7)\n<asynchronous suspension>\n#1 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:376:31)\n<asynchronous suspension>\n#2 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:936:18)\n<asynchronous suspension>\n",
"type": "_extensionType",
"method": "ext.flutter.driver"
}
`[Appium] - [email protected] (automationName 'XCUITest')
[Appium] - [email protected] (automationName 'UiAutomator2')
[Appium] - [email protected] (automationName 'Flutter')`
<dependency>
<groupId>io.github.ashwithpoojary98</groupId>
<artifactId>appium_flutterfinder_java</artifactId>
<version>1.0.3</version>
</dependency>
The text was updated successfully, but these errors were encountered:
Background:
I am working on a Flutter application and using Flutter Driver for automated testing. In my test script, I'm attempting to retrieve the text of an element with the value key "imprint_link."
Expected Behavior:
I expect to be able to retrieve the text of the element with the value key "imprint_link" using the getText() method.
Current Behavior:
When I try to get the text of the element using fnd.byValueKey("imprint_link").getText(), I encounter the following error:
The text was updated successfully, but these errors were encountered: