Site icon TestingDocs.com

What are the differences between Selenium RC and WebDriver?

Overview

In this post, let’s look at some of the differences between Selenium RC and WebDriver. Selenium RC ( Remote Control) uses a Javascript framework called Selenium core that is embedded within the browser. Unlike Selenium RC, WebDriver natively interacts with the browser. Please note that RC would be deprecated.

Below are some of the differences between Selenium RC and Webdriver.

Names:

Selenium Remote control is known as Selenium 1.0. WebDriver is known as Selenium 2.0

Architecture:

The difference in the architecture between Selenium RC and WebDriver. WebDriver controls the browser from the OS level using native API. Selenium RC depends on a server. We need to start a selenium server to run RC tests.

Selenium RC depends on the Selenium server. The server is responsible for launching and running the selenese commands passed from the test script. Selenium server acts as an HTTP proxy between the application and browser.

Performance:

Selenium RC is slow when compared to WebDriver. RC uses Javascript to interact with the browser. WebDriver interacts directly with the browser. This makes webdriver fast.

Mobile:

Webdriver API is object-oriented and can be used for Android and iPhone testing using the respective drivers. RC is not object-oriented and it is not possible to test mobile applications using RC.

 

Selenium Tutorial on this website:

https://www.testingdocs.com/selenium-webdriver-tutorial/

For more information on Selenium, visit the official website:

https://www.selenium.dev/

Exit mobile version