class Selenium::DevTools::V103::Tracing

def _end

def _end
  @devtools.send_cmd('Tracing.end')
end

def get_categories

def get_categories
  @devtools.send_cmd('Tracing.getCategories')
end

def initialize(devtools)

def initialize(devtools)
  @devtools = devtools
end

def on(event, &block)

def on(event, &block)
  event = EVENTS[event] if event.is_a?(Symbol)
  @devtools.callbacks["Tracing.#{event}"] << block
end

def record_clock_sync_marker(sync_id:)

def record_clock_sync_marker(sync_id:)
  @devtools.send_cmd('Tracing.recordClockSyncMarker',
                     syncId: sync_id)
end

def request_memory_dump(deterministic: nil, level_of_detail: nil)

def request_memory_dump(deterministic: nil, level_of_detail: nil)
  @devtools.send_cmd('Tracing.requestMemoryDump',
                     deterministic: deterministic,
                     levelOfDetail: level_of_detail)
end

def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil, tracing_backend: nil)

def start(categories: nil, options: nil, buffer_usage_reporting_interval: nil, transfer_mode: nil, stream_format: nil, stream_compression: nil, trace_config: nil, perfetto_config: nil, tracing_backend: nil)
  @devtools.send_cmd('Tracing.start',
                     categories: categories,
                     options: options,
                     bufferUsageReportingInterval: buffer_usage_reporting_interval,
                     transferMode: transfer_mode,
                     streamFormat: stream_format,
                     streamCompression: stream_compression,
                     traceConfig: trace_config,
                     perfettoConfig: perfetto_config,
                     tracingBackend: tracing_backend)
end