Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Selenium server standalone" jar vs "selenium java" jar

I am bit confused here.. "selenium-server-standalone" jar contains all the library files to run script then why do we need to use "selenium-java" jars?

I read somewhere that its used for Language Binding.. if it is true, then please help me to understand the meaning of Language binding as well.

Thanks.

like image 640
Anish Nair Avatar asked Jun 16 '15 10:06

Anish Nair


People also ask

What is the difference between selenium server and Selenium Server standalone?

Selenium Standalone server is a java jar file used to start the Selenium server. It is a smart proxy server that allows Selenium tests to route commands to remote web browser instances. The aim is to provide an easy way to run tests in parallel on multiple machines.

Do we need selenium standalone server?

Advantages of Selenium Standalone ServerHelps to handle test execution in the distributed way either in VM or Cloud Selenium Grid. Helps to perform cross browser test automation. Can achieve parallel execution using Selenium Cloud Grid, where you can execute multiple test cases in parallel in different environments.


1 Answers

In the previous version of Selenium, which is Selenium RC (Remote Control), it is mandatory that you need to run selenium-server-standalone.jar jar file, which acts like a server. Selenium RC will then use this server to establish a communication channel between browser and the code. Also, this jar file contains all the library functions to be used in our code.

But in later version of Selenium, which is Selenium WebDriver, there is no need to run this jar file, as the WebDriver api will directly communicate with the browser's native language. So, this jar file is replaced with selenium-java.jar jar files

Hope this helps.

like image 142
k.s. Karthik Avatar answered Sep 21 '22 01:09

k.s. Karthik