We've already written it
The functionality you're looking for is
the Remote WebDriver. This is formed of a client and server part. The
two communicate using JSON over HTTP, so adding support for new
languages should be a lot easier than if we'd decided to use a binary
only communication mechanism.
The server part is a java servlet (I host it in Jetty, but it doesn't
really matter what you use), and this is the thing that controls the
browser. There are currently bindings for the client side piece in
Java and Python. I should really throw some decent docs together for
this; consider it to be on my todo list (unless someone else beats me
to it, that is)
I'm starting to move all the drivers that communicate over a socket to
use the same JSON over HTTP protocol. Doing this means that it's a lot
easier to add support for a multitude of browsers: write the "remote"
binding once, and you'll get access to the iphone and firefox
drivers, as well as the other drivers through the remote server.
 Well, eventually. I've only just started moving the firefox piece.
2009/5/17 Jerome Etienne <jerome.etie...@gmail.com
- Show quoted text -