0 votes
1 view
in Devops and Agile by (25k 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 (63.3k 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>

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...