I am currently working on the e2e test for the flutter application where i am using Appium, I am on the scenario where i want to clear all the textfield data. But its not working as expected.
await this.driver.elementClear("object name to clear");
I am using the elementClear Method to clear the field elementClear does not work. Any idea if any one has faced any kind of issue.
Following is what i am passing to the elementClear
descendant({of: byValueKey('capture_amount_field'),matching: byType('TextField'),firstMatchOnly: true });