public void TestRouteDateSetClickable() { PageHome pageHome = new PageHome(); PageFactory.InitElements(driver, pageHome); pageHome.RoutesPageButton.Click(); PageRoutes pageRoutes = new PageRoutes(); PageFactory.InitElements(driver, pageRoutes); pageRoutes.DepartureStationField.Clear(); pageRoutes.DepartureDateField.Clear(); pageRoutes.ArrivalStationField.Clear(); pageRoutes.TimeBoxesResetTimeButton.Click(); pageRoutes.TimeBox(1).Click(); pageRoutes.TimeBox(7).Click(); }