public void RegistrationMail(string login, bool all) { RegInputMail.SendKeys(login); RegInputPassword.SendKeys(TestData.FacebookPass); RegChackboxUA.Click(); RegChackboxAgree.Click(); RegButtonSubmit.Click(); }
public void RegistrationPhone(string login, bool all) { //Driver.Browser.Url = TestData.MainPageURL + "/register/"; PhoneButtonregistration.Click(); MainPage phone = new MainPage(); phone.FlagContainer.Click(); phone.SelectFlagUA.Click(); RegInputMail.SendKeys(login); RegInputPassword.SendKeys(TestData.FacebookPass); RegChackboxUA.Click(); RegChackboxAgree.Click(); RegButtonSubmit.Click(); }