def make_har(self, page_name):
    return {
      'log': {
        'version': '1.2',
        'creator': {
          'name': 'Mobster',
          'version': '1.0'
        },
        '_os': {
           '_name': self.get_os_name(),
           '_version': self.get_os_version()
        },
        'browser': {
          'name': self.get_browser_name(),
          'version': self.get_browser_version()
        },
        'pages': [self.make_page_info(page_name)],
        'entries': self._network_event_handler.make_entry_list()
      }
    }
Check if thread is the main thread.
dataset/ETHPy150Open linkedin/mobster/src/linkedin/mobster/har/flowprofiler.py/FlowProfiler.make_har--crossover with--dataset/ETHPy150Open quantmind/pulsar/pulsar/async/access.py/is_mainthread