public void GivenIGoToTheTestPage() { _loginPage = PageFactory.CreateLoginPage(_context); _loginPage.Driver.Navigate().GoToUrl("http://newtours.demoaut.com"); }
public PageObjectSteps(WebTestContext context) { _context = context; _loginPage = PageFactory.CreateLoginPage(context); _findFlightsPage = PageFactory.CreateFlightsPage(context); }