Beispiel #1
0
 public void openMainPage()
 {
     driver = new ChromeDriver(@"packages\Selenium.WebDriver.ChromeDriver.85.0.4183.8700\driver\win32");
     //  driver = new ChromeDriver(@"D:\Proga\Курсы\MakeUpTests\packages\Selenium.WebDriver.ChromeDriver.85.0.4183.8700\driver\win32");
     mainPage        = new MainPagePOM(driver);
     parfumPage      = new ParfumsPagePOM(driver);
     productPage     = new ProductPagePOM(driver);
     feedbackFormPOM = new FeedbackFormPOM(driver);
     CatalogPOM      = new CatalogPOM(driver);
     mainPage.goToPage();
     driver.Manage().Window.Maximize();
 }
Beispiel #2
0
 public void openMainPage()
 {
     driver           = new ChromeDriver(@"packages\Selenium.WebDriver.ChromeDriver.85.0.4183.8700\driver\win32");
     mainPage         = new MainPagePOM(driver);
     parfumPage       = new ParfumsPagePOM(driver);
     productPage      = new ProductPagePOM(driver);
     feedbackFormPOM  = new FeedbackFormPOM(driver);
     subscribeFormPOM = new SubscribeFormPOM(driver);
     callBackPOM      = new CallBackPOM(driver);
     checkOutPOM      = new CheckOutPOM(driver);
     mainPage.goToPage();
     driver.Manage().Window.Maximize();
 }