public void LoadChildFrame() { using (IWebDriver driver = new ChromeDriver()) { var nestedFramesPage = new NestedFramesPage(driver); nestedFramesPage.LoadPage(); nestedFramesPage.SelectChildFrame(); } }
public void NavigateToNestedFramesPage_SideMenu() { using (IWebDriver driver = new ChromeDriver()) { var alertsMainPage = new Alerts_MainPage(driver); alertsMainPage.LoadPage(); NestedFramesPage nestedFramesPage = alertsMainPage.NavigateToNestedFramesPage_SideMenu(); nestedFramesPage.EnsurePageLoaded(); } }