new_contents: from seleniumbase import BaseCase
  
  
  class TestConsoleLogging(BaseCase):
      def test_console_logging(self):
          self.open("https://seleniumbase.io/demo_page")
          self.wait_for_element_visible("h2")
          self.start_recording_console_logs()
          self.console_log_string("Hello World!")
          self.console_log_script('document.querySelector("h2").textContent')
          console_logs = [log[0] for log in self.get_recorded_console_logs()]
          self.assert_in("Hello World!", console_logs)
          self.assert_in("SeleniumBase", console_logs)
  
subject: Add an example test