private static void AddtionalInfo(StringBuilder sb, FavoritesPage fp) { if (fp.VM == null) { return; } AddtionalInfo(sb, fp.VM); }
public void SetUp() { ChromeOptions options = new ChromeOptions(); options.AddArguments("start-maximized"); options.AddArguments("test-type"); driver = new ChromeDriver(options); loginPage = new LoginPage(driver); searchPage = new SearchPage(driver); findProductPage = new FindProductPage(driver); favoritesPage = new FavoritesPage(driver); outputMessages = new OutputMessages(driver); driver.Navigate().GoToUrl("https://www.n11.com/"); }
public FavoritesPageController(FavoritesPage page) { this.page = page; }
private async void FavoritesButton_Clicked(object sender, EventArgs e) { var favPage = new FavoritesPage(); await Navigation.PushAsync(favPage); }