public void preencherBirthDate(String birthDate)
 {
     if (isPerson())
     {
         TextBirthDate.SendKeys(birthDate);
     }
 }
        public AddressPageObject fillForm(string clientType, string promoCode, string name, string email, string birthDate, string gender, string maritalStatus)
        {
            TextName.SendKeys(name);
            TextEmail.SendKeys(email);

            if (clientType == "Person")
            {
                RadioClientType.FindElement(By.XPath("//label[text()=" + "'" + clientType + "']")).Click();
                TextPromoCode.SendKeys(promoCode);
                TextBirthDate.SendKeys(birthDate);
                SelectGender.SendKeys(gender);
                SelectGender.FindElement(By.XPath("//select/option[text()=" + "'" + maritalStatus + "'" + "]")).Click();
                BtnNext.Click();
                return(new AddressPageObject(driver));
            }
            RadioClientType.FindElement(By.XPath("//label[text()=" + "'" + clientType + "']")).Click();
            TextPromoCode.SendKeys(promoCode);
            BtnNext.Click();
            return(new AddressPageObject(driver));
        }