public ContactPage AskQuestion(string email, string bookingNumber, string question) { Email.SendKeys(email); BookingNumber.SendKeys(bookingNumber); Question.SendKeys(question); ButtonSend.Click(); log.Info("Question askred"); return(new ContactPage(driver)); }
public string FindBookingWithWrongBookingNumber(Booking booking) { BookingNumber.SendKeys(booking.WrongBooking); SearchButton.Click(); return(ErrorMessage.Text); }