public void Load() { using (IWebDriver driver = new ChromeDriver()) { var alertsPage = new Alerts_MainPage(driver); alertsPage.LoadPage(); } }
public void NavigateToModalDialogPage_SideMenu() { using (IWebDriver driver = new ChromeDriver()) { var alertsMainPage = new Alerts_MainPage(driver); alertsMainPage.LoadPage(); ModalDialogsPage modalDialogsPage = alertsMainPage.NavigateToModalDialogsPage_SideMenu(); modalDialogsPage.EnsurePageLoaded(); } }
public void NavigateToFramesPage_SideMenu() { using (IWebDriver driver = new ChromeDriver()) { var alertsMainPage = new Alerts_MainPage(driver); alertsMainPage.LoadPage(); FramesPage framesPage = alertsMainPage.NavigateToFramesPage_SideMenu(); framesPage.EnsurePageLoaded(); } }
public void NavigateToBrowserWindowsPage_SideMenu() { using (IWebDriver driver = new ChromeDriver()) { var alertsMainPage = new Alerts_MainPage(driver); alertsMainPage.LoadPage(); BrowserWindowsPage browserWindowsPage = alertsMainPage.NavigateToBrowserWindowsPage_SideMenu(); browserWindowsPage.EnsurePageLoaded(); } }