private void FinalizaComponenteDeTela()
        {
            var ehClasseTearDown = this is ZzzTearDown;

            if (ehClasseTearDown && ComponenteDeTela != null)
            {
                ComponenteDeTela.Dispose();
            }
        }
        protected override void ThrowTimeoutException(string exceptionMessage, Exception lastException)
        {
            try
            {
                _componenteDeTela.SalvarScreenshotErro("TimeoutException");
            }
            catch (Exception ex)
            {
                lastException = ex;
            }
            finally
            {
                if (_componenteDeTela != null)
                {
                    _componenteDeTela.Dispose();
                }

                base.ThrowTimeoutException(exceptionMessage, lastException);
            }
        }
 public void Finaliza()
 {
     _componenteDeTela.Dispose();
 }