Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k points)

This may sound like stupid question but I want to know difference between Selenium standalone Server and Java selenium Jar file? I am able to import Webdriver class by using both jar files. If selenium Standalone server is providing all required jar file then why do we have separate Java selenium Jar files

SeleniumHQ

1 Answer

0 votes
by (62.9k points)

Selenium Standalone Server - is a java jar file which is used for starting selenium server which is as word say server, proxy to selenium grid for browsers you want to automate.

The server is good for several reasons:

  • Test distribution over the remote machine, or multiple machines (nodes),
  • Test on different browsers with different versions,
  • Test that is not developed using the Java bindings (i.e. Python, C#, or Ruby) and would like to use HtmlUnit Driver


 

Selenium Client (jar) - is as word say, a client, bunch of API's rolled into one jar, for different languages (Ruby, Phyton, C#, Javascript etc.) So if you want to automate locally and test on the browser, one version of it, don't want to run in parallel, this is all you need.

Client jar can also be acquired by tools like maven or Gradle, open-source build automation systems.

<!-- https://mvnrepository.com/artifact/io.appium/java-client -->

<dependency>

    <groupId>io.appium</groupId>

    <artifactId>java-client</artifactId>

    <version>6.0.0-BETA5</version>

</dependency>

If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, you need to enroll in Selenium training institute

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...