code: def discard_logcat_logs(self):
          
          if self.driver_wrapper.is_android_test():
              try:
                  self.driver_wrapper.driver.get_log('logcat')
              except Exception:
                  pass
docs: Discard previous logcat logs