public LoginSteps(IWebDriver driver, HomePage hPg, ConduitWebPage cdpg, SignUpPage sUpg, SignInPage sIpg) { _driver = driver; _homePage = hPg; _conduitWebpage = cdpg; _signUpPage = sUpg; _signInPage = sIpg; }
public void StartDriver() { _driver = new ChromeDriver(); objectContainer.RegisterInstanceAs <IWebDriver>(_driver); _driver.Manage().Window.Maximize(); _conduitWebpage = new ConduitWebPage(_driver); _conduitWebpage.Open(); _conduitWebpage.GoToSignInPage(); }