What's the diff between Selenium RC and Selenium WebDriver?

0 votes
Can someone please tell me the basic differences between Selenium RC and Selenium WebDriver?
Apr 5, 2018 in Selenium by Martin
• 4,220 points
157 views

1 answer to this question.

0 votes
RC works by injecting the JavaScript functions into the browser for testing. This is a slow process because it involves a RC(Remote Control) server and RC Core to perform testing. RC core injects the javascript code on the RC server because RC Core cannot straight away perform testing on a web page hosted on another domain thanks to the same origin policy. To learn more about the same origin policy or about the drawbacks of RC, read this blog: https://www.edureka.co/blog/selenium-tutorial.

WebDriver was the flavor of Selenium which overcame a lot of challenges faced by RC. To comply to the same origin policy, and at the same to perform the required tests, WebDriver uses a proxy server to inject the selenium code on the browser. This what we mean by "Selenium-WebDriver makes direct calls to the browser using each browser’s native support for automation".

So on a concluding note, WebDriver is just a better & faster version of the now outdated Selenium RC.
answered Apr 5, 2018 by nsv999
• 5,050 points

Related Questions In Selenium

+1 vote
1 answer

What are the similarity between Selenium RC and Selenium Webdriver?

Selenium RC and Webdriver both support the ...READ MORE

answered Dec 12, 2018 in Selenium by Priyaj
• 56,160 points
72 views
0 votes
1 answer

Differences between Selenium IDE, Selenium RC and WebDriver

Selenium Ide is a Firefox plugin that ...READ MORE

answered Apr 19, 2018 in Selenium by Vardy
• 2,280 points
103 views
0 votes
1 answer

Difference between Selenium IDE, RC and WebDriver

Selenium has 4 components:- IDE, Grid, RC and ...READ MORE

answered Apr 30, 2018 in Selenium by Meci Matt
• 9,400 points
1,140 views
0 votes
1 answer

Difference between Selenium RC and WebDriver

Selenium RC Selenium Remote Control (RC) is used ...READ MORE

answered Jun 14, 2018 in Selenium by Meci Matt
• 9,400 points
486 views
0 votes
1 answer

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,050 points
259 views
0 votes
1 answer
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,130 points
628 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
256 views
0 votes
1 answer

What are the differences between getText() and getAttribute() functions in Selenium WebDriver?

See, both are used to retrieve something ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,050 points
4,316 views
0 votes
1 answer

What's the difference between functions getClass() and getAttribute(“class”) in Selenium?

The simple difference is that, getClass() returns ...READ MORE

answered Apr 7, 2018 in Selenium by nsv999
• 5,050 points
2,426 views