class Selenium::WebDriver::Remote::Bridge

def execute(*args)

def execute(*args)
  command = args[0]
  start_time = Time.now
  begin
    return_value = webdriver_execute(*args)
    SeleniumStatistics.send("#{command}=", Time.now - start_time)
  rescue Exception => ex
    SeleniumStatistics.send("#{command}=", Time.now - start_time)
    raise
  end
  return_value
end