Esempio n. 1
0
 public void openWebPage(string webPageUrl)
 {
     if (webPageUrl.Contains("delivery-club.ru"))
     {
         mainPage =
             new DeliveryClubMainPageObject("https://" + webPageUrl,
                                            DriverHolder.getDriver());
     }
     else
     {
         ScenarioContext.Current.Pending();
         //либо повесить ошибку на hook
     }
 }
Esempio n. 2
0
 public static void closeChromeDriver()
 {
     DriverHolder.closeDriver();
 }
Esempio n. 3
0
 public static void initChromeDriver()
 {
     DriverHolder.initDriver();
 }