Esempio n. 1
0
 public virtual void BeforeEach()
 {
     Base.SetLogger();
     Driver.init();
     PagesWrapper.init();
     Base.Log.step("User navigates to this URL");
     Driver.GotoTestEnv(Base.Config.Test.Url);
     //Driver.GotoStagingEnv (Base.Config.Test.Url);
 }
Esempio n. 2
0
 public void BeforeEach()
 {
     FW.SetLogger();
     Driver.Init();
     PagesWrapper.Init();
     Driver.GotTo("https://statsroyale.com");
     Driver.Current.Manage().Window.Maximize();
     Thread.Sleep(6000);
     Driver.Current.FindElement(By.XPath("/html/body/div[1]/div[1]/div[2]/span[1]/a")).Click();
 }