class Selenium::WebDriver::Chromium::Driver

def devtools_url

def devtools_url
  uri = URI(devtools_address)
  response = Net::HTTP.get(uri.hostname, '/json/version', uri.port)
  JSON.parse(response)['webSocketDebuggerUrl']
end

def devtools_version

def devtools_version
  Integer(capabilities.browser_version.split('.').first)
end