public void CreateNewUser(string firstName, string lastName, string email, Office office, Gender gender) { PageFactory.InitElements(webDriver, this); B_New.Click(); T_FirstName.SendKeys(firstName); PageFactory.InitElements(webDriver, this); T_LastName.SendKeys(lastName); T_Email.SendKeys(email); data = office.ToString("g").Replace("_", " "); DL_Office.Click(); data = gender.ToString("g").Replace("_", " "); RB_Gender.Click(); B_Create.Click(); }