!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: JS API  (Read 467 times)

Simon Stewart

  • Web User
JS API
« on: March 28, 2012, 05:58:18 PM »
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

Luismahou

  • Web User
Re: JS API
« Reply #1 on: March 28, 2012, 05:58:34 PM »
Hi Simon,
 Will this API be browser-specific?
 
Thanks
 
On Aug 4, 3:20 am, Simon Stewart <simon.m.stew...@gmail.com> wrote:
 

- Show quoted text -

Simon Stewart

  • Web User
Re: JS API
« Reply #2 on: March 28, 2012, 05:58:44 PM »
No, the plan is for this API to be available everywhere that webdriver
 (and selenium core) is. For now, however, we're starting with
 something that works on Firefox to prove out the concept and beat the
 API into shape.
 Simon
 

- Show quoted text -

Selenium Webdriver

Re: JS API
« Reply #2 on: March 28, 2012, 05:58:44 PM »

 

Review www.seleniumwebdriver.com on alexa.com