class Selenium::WebDriver::DevTools::ConsoleEvent

def initialize(type:, timestamp:, args:)

def initialize(type:, timestamp:, args:)
  @type = type.to_sym
  @timestamp = Time.at(timestamp / 1000)
  @args = args.map do |arg|
    arg.key?('value') ? arg['value'] : arg
  end
end