The app is developed using Xamarin.forms. I am examining the app using repl(). While using tree command i can see following output
>>> tree [[object Ca
Get the label with something like static readonly Func<AppQuery, AppQuery> MyLabel = c => c.Marked("TermsAndConditions_btn"); and then call app.Tap(MyLabel).
static readonly Func<AppQuery, AppQuery> MyLabel = c => c.Marked("TermsAndConditions_btn");
app.Tap(MyLabel)