Can someone please tell me the basic differences between Selenium RC and Selenium WebDriver?

Can someone please tell me the basic differences between Selenium RC and Selenium WebDriver?

Hi Mark,

RC works by injecting the JavaScript functions into the browser for testing. This is a slow process because it involves an 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. WebDriver was the flavor of Selenium which overcame a lot of challenges faced by RC. To comply with the same origin policy, and at the same to perform the required tests, WebDriver uses a proxy server to inject the selenium code into the browser. This is what we mean by “Selenium-WebDriver makes direct calls to the browser using each browser’s native support for automation”.