class Selenium::DevTools::V94::Network

def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil)

def emulate_network_conditions(offline:, latency:, download_throughput:, upload_throughput:, connection_type: nil)
  @devtools.send_cmd('Network.emulateNetworkConditions',
                     offline: offline,
                     latency: latency,
                     downloadThroughput: download_throughput,
                     uploadThroughput: upload_throughput,
                     connectionType: connection_type)
end