public bool InserirDtaERenda(string[] arg)
        {
            bool _result = false;

            try
            {
                util.WaitForElementVisible(InputDtaNasc, 15);
                if (InputDtaNasc.Displayed)
                {
                    InputDtaNasc.Click();
                    Thread.Sleep(300);
                    InputDtaNasc.SendKeys(arg[1]);
                    Thread.Sleep(300);
                    InputRenda.Click();
                    Thread.Sleep(300);
                    InputRenda.SendKeys(arg[0]);
                    Thread.Sleep(1000);

                    _result = true;
                }
                else
                {
                }
            }
            catch
            {
            }
            return(_result);
        }
        public bool PreencherDadosPessoais()
        {
            bool _result = false;

            util.ScrollElementoPage(InputRg);
            Thread.Sleep(3000);
            string rg = util.GerarRg();

            try
            {
                util.WaitForElementVisible(InputRg, 30);
                if (InputRg.Displayed)
                {
                    Thread.Sleep(300);
                    InputRg.Click();
                    Thread.Sleep(300);
                    InputRg.SendKeys(rg);
                    Thread.Sleep(300);
                    InputDtaNasc.Click();
                    Thread.Sleep(300);
                    InputDtaNasc.SendKeys(massa.dtaNasc);
                    Thread.Sleep(300);
                    RadioMasc.Click();
                    Thread.Sleep(300);
                    RadioNacio.Click();
                    Thread.Sleep(300);
                    ListEstCivil.Click();
                    Thread.Sleep(300);
                    var selectElement = new SelectElement(ListEstCivil);
                    selectElement.SelectByIndex(1);
                    Thread.Sleep(300);
                    RadioUniao.Click();
                    Thread.Sleep(1000);

                    _result = true;
                }
            }
            catch
            {
            }
            return(_result);
        }
        public bool PreencherDados()
        {
            bool _result = false;

            try
            {
                util.WaitForElementVisible(InputNome, 45);
                if (InputNome.Displayed)
                {
                    InputNome.Click();
                    Thread.Sleep(250);
                    InputNome.SendKeys(Massa.nome + " " + Massa.sobrenome);

                    InputCpf.Click();
                    Thread.Sleep(250);
                    //InputCpf.SendKeys(UpdateStatusDB.PegarCpf());

                    InputRg.Click();
                    Thread.Sleep(250);
                    InputRg.SendKeys(util.GerarRg());

                    InputDtaNasc.Click();
                    Thread.Sleep(250);
                    InputDtaNasc.SendKeys(Massa.dtaNasc);

                    InputNMatric.Click();
                    Thread.Sleep(250);
                    InputNMatric.SendKeys(Massa.matricula);

                    Thread.Sleep(500);

                    _result = true;
                }
            }
            catch
            {
            }
            return(_result);
        }