This is how element is defined
@FindBy(locator = "flutter-valuekey=xxx")
public FlutterElement btnPost;
And then I'm just doing
btnPost.click();
Following is the log from appium. I can see that there is an expeception.
After this, the execution doesn't proceed and gets stuck there