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