Hi everyone,
We're coming perilously close to pushing a JS API into webdriver
trunk. Right now, this will only work with Firefox, but we're planning
on rolling it out to all the other browsers too. If you're interested,
now's a good time to have a look and provide some feedback:
http://code.google.com/p/webdriver/source/browse/#svn/branches/jsapi/...
http://code.google.com/p/webdriver/source/browse/branches/jsapi/remot...
with most of the code being here:
http://code.google.com/p/webdriver/source/browse/branches/jsapi/remot...
The basic design routes everything through a "command processor".
Right now, that looks like a thin wrapper around the firefox driver's
listener (because it is), but I'd expect the next implementation to
start making this more general. The key point is that the
functionality sits on top of a very small API (essentially the
"execute" method)
http://code.google.com/p/webdriver/source/browse/branches/jsapi/remot...
Paul, Jason, Dan and Pat, I'd appreciate your comments in particular,
because at some point the plan is to back-port to sit this on top of
Selenium Core.
Regards,
Simon