public void WelcomeTextIsDisplayed() { AppResult[] results = app.WaitForElement(c => c.Marked("Welcome to Xamarin Forms!")); app.Screenshot("Welcome screen."); Assert.IsTrue(results.Any()); } }