Re: selenium-server-standalone jar vs selenium-java jar

1,147 views
Skip to first unread message

Mike Riley

unread,
Mar 1, 2013, 4:09:38 PM3/1/13
to webd...@googlegroups.com
I was confused when I first saw that, too.

The standalone-server Jar is used to start a remote Node server or Grid 2 server.  Some people start the server from their own code, but that is really the only time you would use that jar in your program.

The Selenium Java Jar file is if you want to run WebDriver directly, or as a client using RemoteWebDriver talking to a Node or Grid 2 server.  This is the jar you will definitely be using for writing your Web Driver code.

Mike

On Thursday, February 28, 2013 10:59:20 AM UTC-8, Tushar Roy wrote:

I worked on Selenium RC. We had a small project requirement that time. We created test scripts using java. We had used the selenium-server-standalone jar and the selenium-java jar.

Recently we started using webdriver.
We downloaded just the selenium-server-standalone jar, imported it into java classpath and wrote the java test scripts. No separate Selenium Client & WebDriver Language Bindings i.e., selenium-java jar was used this time. The scripts ran very well.

But its bit confusing when to use the Selenium-server-standalone jar and when to use selenium-java jar(the Selenium Client & WebDriver Language Bindings)?
whats the difference between these?
Message has been deleted

Tushar Roy

unread,
Mar 4, 2013, 2:51:51 AM3/4/13
to webd...@googlegroups.com
Thanks Mike.

Simon Stewart

unread,
Mar 4, 2013, 2:46:52 PM3/4/13
to webd...@googlegroups.com
The standalone jar contains _everything_, including the remote selenium server and the client-side bindings. The selenium-java jar just contains the language bindings and the drivers, not the server side piece.

Simon

On Thu, Feb 28, 2013 at 10:59 AM, Tushar Roy <tusha...@gmail.com> wrote:

I worked on Selenium RC. We had a small project requirement that time. We created test scripts using java. We had used the selenium-server-standalone jar and the selenium-java jar.

Recently we started using webdriver.
We downloaded just the selenium-server-standalone jar, imported it into java classpath and wrote the java test scripts. No separate Selenium Client & WebDriver Language Bindings i.e., selenium-java jar was used this time. The scripts ran very well.

But its bit confusing when to use the Selenium-server-standalone jar and when to use selenium-java jar(the Selenium Client & WebDriver Language Bindings)?
whats the difference between these?

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tushar Roy

unread,
Mar 5, 2013, 7:03:19 AM3/5/13
to webd...@googlegroups.com
Thanks Simon. That clears a lot.
Reply all
Reply to author
Forward
0 new messages