class Selenium::WebDriver::WebSocketConnection

def process_handshake

def process_handshake
  socket.print(ws.to_s)
  ws << socket.readpartial(1024)
end