Example #1
0
        public MainPage InputBothCities(ModelCheckInUser user, IWebDriver driver)
        {
            notExistCityBox.SendKeys(user.AloneCity);
            bothCitiesBox.SendKeys(user.CityTo);
            Actions action = new Actions(driver);

            action.MoveToElement(notExistCityBox);
            action.Perform();
            notExistCityBox.Click();
            return(this);
        }
Example #2
0
 public CheckInPage InputPrivateInformationInCheckInPage(ModelCheckInUser user)
 {
     ticketNumber.SendKeys(user.TicketNumber);
     surname.SendKeys(user.Surname);
     return(this);
 }
Example #3
0
 public MainPage InputCity(ModelCheckInUser user)
 {
     notExistCityBox.SendKeys(user.NotExistCity);
     return(this);
 }
Example #4
0
 public MainPage InputBothCities(ModelCheckInUser user)
 {
     bothCitiesBox.SendKeys(user.AloneCity);
     bothCitiesBox.SendKeys(user.CityTo);
     return(this);
 }