!!

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: possible as webservice ?  (Read 335 times)

Jerome Etienne

  • Web User
possible as webservice ?
« on: March 27, 2012, 09:08:25 PM »
This is a nice effort, but the dependance for the tester to write in
 java is a burden. Is it possible to have a webservice (xmlrpc, jsonp
 etc...) build on top of webdriver ?
 It would provide very easy way to export webdriver feature in other
 languages...

Simon Stewart

  • Web User
Re: possible as webservice ?
« Reply #1 on: March 27, 2012, 09:08:40 PM »
Hi Jerome,
 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[1], as well as the other drivers through the remote server.
 
Regards,
 
Simon
 
[1] Well, eventually. I've only just started moving the firefox piece.
 
2009/5/17 Jerome Etienne <jerome.etie...@gmail.com>:
 

- Show quoted text -

 

Review www.seleniumwebdriver.com on alexa.com