public void WhenIPressSelectAll()
 {
     //list = new List<IWebElement>() {};
     //list = indexPage.CompletedTasksList.ToList();
     indexPage = new NUnit.PageObject.IndexPage(BeforeAfterScenario.Driver);
     indexPage.ToggleAll.Click();
     indexPage.MoveToActive();
 }
 private int CountOfUncompletedTasks()
 {
     indexPage = new NUnit.PageObject.IndexPage(BeforeAfterScenario.Driver);
     return indexPage.CountOfUncompletedTasks();
 }
 public void WhenIDeleteOneItem()
 {
     indexPage = new NUnit.PageObject.IndexPage(BeforeAfterScenario.Driver);
     indexPage.MoveToAll();
     indexPage.Destroy();
 }