docs: def print_javascript_error(self):
          """Print to the info log the gathered javascript error
  
          If no error is found then nothing is printed
          """
  
          errors = self.get_javascript_error(return_type='list')
          if errors:
              self.info_log("Javascript error:")
              for error in errors:
                  self.info_log(error)