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); }
public CheckInPage InputPrivateInformationInCheckInPage(ModelCheckInUser user) { ticketNumber.SendKeys(user.TicketNumber); surname.SendKeys(user.Surname); return(this); }
public MainPage InputCity(ModelCheckInUser user) { notExistCityBox.SendKeys(user.NotExistCity); return(this); }
public MainPage InputBothCities(ModelCheckInUser user) { bothCitiesBox.SendKeys(user.AloneCity); bothCitiesBox.SendKeys(user.CityTo); return(this); }