Пример #1
0
 private static void AddtionalInfo(StringBuilder sb, FavoritesPage fp)
 {
     if (fp.VM == null)
     {
         return;
     }
     AddtionalInfo(sb, fp.VM);
 }
Пример #2
0
        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/");
        }
Пример #3
0
 public FavoritesPageController(FavoritesPage page)
 {
     this.page = page;
 }
Пример #4
0
 private async void FavoritesButton_Clicked(object sender, EventArgs e)
 {
     var favPage = new FavoritesPage();
     await Navigation.PushAsync(favPage);
 }