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
Steps to Reproduce
Facing uncaught error exception when flutter driver getText() method is used to retrieve text for automation.
Code sample
Flutter driver initialization:
driver = new AndroidDriver<MobileElement>(url, cap);
driver.manage().timeouts().implicitlyWait(sessionTimeout, TimeUnit.SECONDS);
finder = new FlutterFinder(driver);
getText() method code:
FlutterElement element = finder.byValueKey(locator);
return element.getText(); //uncaught exception found here
Details of exception: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot execute command get_text, server reponse { "isError": true, "response": "Uncaught extension error while executing get_text: Unsupported operation: Type AutoSizeText is currently not supported by getText\n#0 CommandHandlerFactory._getText (package:flutter_driver/src/common/handler_factory.dart:418:7)\n<asynchronous suspension>\n#1 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:372:31)\n<asynchronous suspension>\n#2 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:855:18)\n<asynchronous suspension>\n", "type": "_extensionType", "method": "ext.flutter.driver" }
Screenshots
Version
Flutter version: 3.3.5
auto_size_text version: 3.0.0
appium version: 2.0.0-beta.44
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
Facing uncaught error exception when flutter driver getText() method is used to retrieve text for automation.
Code sample
Flutter driver initialization:
getText() method code:
Details of exception:
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot execute command get_text, server reponse { "isError": true, "response": "Uncaught extension error while executing get_text: Unsupported operation: Type AutoSizeText is currently not supported by getText\n#0 CommandHandlerFactory._getText (package:flutter_driver/src/common/handler_factory.dart:418:7)\n<asynchronous suspension>\n#1 FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:372:31)\n<asynchronous suspension>\n#2 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:855:18)\n<asynchronous suspension>\n", "type": "_extensionType", "method": "ext.flutter.driver" }
Screenshots
Version
The text was updated successfully, but these errors were encountered: