class Selenium::WebDriver::ServiceManager

def start

def start
  raise "already started: #{uri.inspect} #{@executable_path.inspect}" if process_running?
  Platform.exit_hook { stop } # make sure we don't leave the server running
  socket_lock.locked do
    find_free_port
    start_process
    connect_until_stable
  end
end