selenium java jar file vs Selenium server standalone jar file

0 votes
If "selenium-server-standalone" jar file has all the library and methods to run a Selenium script, then why should we use "selenium-java" jars? I read else where that it is used for Language Binding. Is that the case? Can someone please confirm?
Apr 10, 2018 in Selenium by code_ninja
• 6,300 points
6,070 views

1 answer to this question.

+1 vote
Explanation below. Also, there is a similar thread on the same topic here: https://www.edureka.co/community/815/selenium-server-standalone-selenium-webdriver-different

In Selenium RC (Remote Control), it was mandatory to use selenium-server-standalone.jar jar file because RC involves a server and RC Core will then use this server to establish a communication between the browser and your code. All this is powered by the selenium-server-standalone.jar. along with library functions present in your code.

But with Selenium WebDriver, there is no need for selenium-server-standalone.jar jar file, because the WebDriver API directly communicates with the browser's native language and overcomes the Same Origin Policy issue. So, the selenium-java.jar jar files is used instead for testing with WebDriver.

Hope the answer helps.
answered Apr 10, 2018 by nsv999
• 5,500 points
Thanks nsv999 for your answer. Its very clear and understandable. I am upvoting your answer too.

Related Questions In Selenium

0 votes
1 answer

How can I download the *.jar file from http:// seleniumhq.org using selenium WebDriver?

For Selenium Standalone Server use this: profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/java-archive"); and ...READ MORE

answered Apr 9, 2018 in Selenium by Martin
• 4,320 points
3,577 views
0 votes
1 answer

Running a selenium-server-standalone

Below codes will help you: java -jar seleniumjar.jar ...READ MORE

answered Apr 9, 2018 in Selenium by KillerMiller
1,636 views
0 votes
1 answer

Downloading *.jar file from http:// seleniumhq.org using Selenium WebDriver

For Selenium Standalone Server: profile.setPreference("browser.helperApps.neverAsk.saveToDisk", "application/java-archive"); If downloading ...READ MORE

answered Apr 17, 2018 in Selenium by Shubham
• 13,490 points
6,341 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,776 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,191 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,267 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,904 views
0 votes
1 answer

How are 'Selenium-server-standalone.jar' and 'Selenium Client & WebDriver' different from each other?

Okay, your understanding of "Selenium Server" & ...READ MORE

answered Apr 6, 2018 in Selenium by nsv999
• 5,500 points
2,933 views
+1 vote
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,500 points
8,409 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP