parameters: (self)
return_statement: return dom_counters
docstring: A dictionary populated with measured DOM statistics.
  
      Currently this dictionary contains:
      {
        'document_count': integer,
        'node_count': integer,
        'event_listener_count': integer
      }
  
      Raises:
        inspector_memory.InspectorMemoryException
        exceptions.TimeoutException
        exceptions.DevtoolsTargetCrashException
docstring_summary: A dictionary populated with measured DOM statistics.
docstring_tokens: A dictionary populated with measured DOM statistics .
function: def dom_stats(self):
      """A dictionary populated with measured DOM statistics.
  
      Currently this dictionary contains:
      {
        'document_count': integer,
        'node_count': integer,
        'event_listener_count': integer
      }
  
      Raises:
        inspector_memory.InspectorMemoryException
        exceptions.TimeoutException
        exceptions.DevtoolsTargetCrashException
      """
      dom_counters = self._inspector_backend.GetDOMStats(
          timeout=DEFAULT_TAB_TIMEOUT)
      assert (len(dom_counters) == 3 and
              all([x in dom_counters for x in ['document_count', 'node_count',
                                               'event_listener_count']]))
      return dom_counters
function_tokens: def dom_stats ( self ) : dom_counters = self . _inspector_backend . GetDOMStats ( timeout = DEFAULT_TAB_TIMEOUT ) assert ( len ( dom_counters ) == 3 and all ( [ x in dom_counters for x in [ 'document_count' , 'node_count' , 'event_listener_count' ] ] ) ) return dom_counters