Exemple #1
0
 public void CreateDriver()
 {
     driver        = BaseDriver.GetDriver();
     requestModel  = BaseDriver.GetRequestPageModel();
     gameMainModel = BaseDriver.GetGameMainPageModel();
     logInModel    = BaseDriver.GetLogInPageModel();
 }
Exemple #2
0
 public void GivenTheGameCrypto_BattleIsOpenedInGoogleChrome()
 {
     gameMainModel = BaseDriver.GetGameMainPageModel();
     driver        = BaseDriver.GetDriver();
     //driver.Manage().Window.Maximize();
     driver.Manage().Timeouts().PageLoad     = TimeSpan.FromSeconds(7);
     driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(7);
     driver.Url = "http://crypto-battle.pp.ua/";
 }