What is Selenium RC : Difference from Webdriver

August 2024 · 3 minute read

This article will help you understand the key differences between Selenium Remote Control (RC) and Selenium WebDriver. It will also give you a glimpse of how Selenium WebDriver changed the testing landscape by overcoming the limitations one would encounter in Selenium RC.

Both RC and WebDriver are test automation tools supporting different programming languages but come with some critical differences.

First, let’s explore the nature and architecture of Selenium RC.

Table of Contents

What is Selenium RC?

Selenium RC is an important component in the Selenium test suite. It is a testing framework that enables a QA or a developer to write test cases in any programming language in order to automate UI tests for web applications against any HTTP website.

Selenium RC comprises of two parts:

Refer to the image below for a simplified architectural representation of the structure

Selenium-RC

Image source: Seleniumhq

Selenium RC’s architecture has proven to be complicated for the following reasons:

The following operations are performed behind the scenes when a test script is executed in Selenium RC:

Limitations of Selenium RC:

The limitations of Selenium RC led to the development of the new automation framework, Selenium WebDriver. After the introduction of WebDriver in 2006, complications arising in RC could be addressed and resolved.

How WebDriver took over Selenium RC?

Selenium WebDriver’s architecture is simpler than that of Selenium RC. Unlike Selenium RC, it does not involve any proxy server and it controls the browser directly from the OS (Operating System) level. This entails a significant reduction in complexity.

Run Selenium Webdriver Tests for Free

Here’s a simplified depiction of the WebDriver architecture :

One just needs to have the following to run test scripts on WebDriver:

What makes WebDriver the better choice?

Note: Selenium WebDriver is more efficient and faster compared to RC. However, RC has an advantage over WebDriver in terms of report generations as the results are generated automatically in the form of an HTML file. This feature is not available for WebDriver.

Selenium WebDriver is, without a doubt, one of the most preferred test automation frameworks in the testing ecosystem. By virtue of its simple architecture and easy-to-use commands, it has emerged as a favorite among testers at large.

ncG1vNJzZmivp6x7o77OsKqeqqOprqS3jZympmeXqralsY6snKWdnp7CrnnRnGStraSkv6qtyw%3D%3D