Ejemplo n.º 1
0
        protected void NavigateToMainPage()//initialize driver and navigate to main page
        {
            IWebDriver Driver = WebDriverConcurrent.InitDriver(this.GetType());

            steps = new MainPageSteps(Driver);
            steps.GoToMainPage(TestData.BaseUrl);
        }
Ejemplo n.º 2
0
 protected void EndTest()//remove driver from dictinary
 {
     WebDriverConcurrent.KillDriver(GetType());
 }
Ejemplo n.º 3
0
 public void Cleanup()
 {
     WebDriverConcurrent.KillDriver(this.GetType());
 }
Ejemplo n.º 4
0
 public void Init()
 {
     Driver = WebDriverConcurrent.InitDriver(this.GetType());
 }