In search of the Selenium IDE’s successor
Tags: testing, automatedtesting, testautomation, selenium
Published: 2020-07-29 10:06:56

---
title: In search of the Selenium IDE’s successor
published: true
date: 2017-09-03 18:19:21 UTC
tags: testing,automatedtesting,testautomation,selenium
canonical_url: https://medium.com/@briananderson2209/in-search-of-the-selenium-ides-successor-33bc7eaefe7f
---

![](https://cdn-images-1.medium.com/max/978/1*JidOCWgcbQtICstuEJ3wAw.png)<figcaption>Selenium IDE on Firefox’s add-ons site</figcaption>

It is no secret by now that Selenium IDE will be deprecated. In fact, it has already [stopped working since Firefox 55](https://seleniumhq.wordpress.com/2017/08/09/firefox-55-and-selenium-ide/). And as [one of the most popular automated testing tools](https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/statistics/?last=365) to ever exist, this has prompted a search for a (better) successor.

In this article, we will take a look at Selenium history to understand what Selenium IDE is, and why it is so successful, and quickly go through some of its potential replacements.

![](https://cdn-images-1.medium.com/max/721/1*fPrr6coYZ3HBzT_jE5ji_Q.png)<figcaption>Selenium IDE usage statistics on Firefox’s add-ons page</figcaption>

### The beginning

Without any doubt, Selenium is one of the most misunderstood pieces of technology. It is not a testing tool to put into “versus” questions or articles flooding all software testing forums and social websites.

![](https://cdn-images-1.medium.com/max/200/1*9HxTuPbITDRFMRGYFmjQVw.jpeg)<figcaption>Jason Huggins</figcaption>

In 2004, [Jason Huggins](https://www.linkedin.com/in/jrhuggins) was testing an internal application at ThoughtWorks. Being a smart guy, he realized there were better uses of his time than manually stepping through the same tests with every change he made. He developed a JavaScript library that could drive interactions with the page, allowing him to automatically rerun tests against multiple browsers. He named this program as the JavaScriptTestRunner. Seeing potential in this idea to help automate other web applications, he made JavaScriptTestRunner open source which was later renamed as Selenium Core.

![](https://cdn-images-1.medium.com/max/250/1*z7kDDN1KegduB8VlD2n1uA.jpeg)<figcaption>Paul Hammant</figcaption>

Unfortunately, to work within the Same Origin Policy, Selenium Core must be placed in the same origin as the Application Under Test (AUT). So another ThoughtWork’s engineer, [Paul Hammant](https://paulhammant.com/), created a server that would act as an HTTP proxy masking the AUT under a fictional URL, embedding Selenium Core and the set of tests and delivering them as if they were coming from the same origin. This system became known as the Selenium Remote Control (Selenium RC), or Selenium 1.

![](https://cdn-images-1.medium.com/max/773/1*qA8vC_aFI5lNme-Ilf8KOQ.png)<figcaption>Selenium Remote Control architecture</figcaption>

When web frameworks were becoming more complex and powerful, the restrictions of web browsers’ sandboxed Javascript environment were increasingly limiting the effectiveness of Selenium Core.

![](https://cdn-images-1.medium.com/max/250/1*0U2hNN5NsBaWIIAGVj_EUg.jpeg)<figcaption>Simon Stewart</figcaption>

In 2006 a plucky engineer at Google named [Simon Stewart](http://blog.rocketpoweredjetpants.com/) started work on a project he called WebDriver. Google had long been a heavy user of Selenium, but testers had to work around the limitations of the product. Simon wanted a testing tool that spoke directly to the browser using the “native” method for the browser and operating system, thus avoiding the restrictions of a sandboxed Javascript environment. All implementations of WebDriver that communicate with web browsers shall use a common wire protocol. This wire protocol defines a RESTful web service using JSON over HTTP.

![](https://cdn-images-1.medium.com/max/595/1*QqMN72tkhGGPVS6HiCb7oA.jpeg)<figcaption>Selenium WebDriver architecture</figcaption>

When popular web browsers’ developers (Google, Mozilla, Microsoft, Apple) began to adopt and [standardize the protocol](https://w3c.github.io/webdriver/webdriver-spec.html), Selenium WebDriver became the de facto way to do functional automated testing for web applications.

It is quite ironic that numerous test automation tools — for their ignorance or marketing purpose — had dug out the old Selenium Core’s way, claimed it _their_ innovative replacement for Selenium WebDriver, and charged their users with big money every day.

It must be noted that both Selenium RC and Selenium WebDriver are mere engines to automate the browsers. In order to compose a Selenium test case, one would need to deduce the XPath (or CSS) locators of web elements (e.g buttons), add the correct commands, and put all test steps together. There are tools built on top of the engines, adding layers for test case management and reporting. There are also people who love to put things together for greater control. These are things that can be compared against other solutions such as [Unified Functional Testing (UFT)](https://software.microfocus.com/en-us/software/uft). Comparing Selenium against UFT is like comparing the famous combustion engine against a fully functional car, or in short, apples to oranges.

![](https://cdn-images-1.medium.com/max/150/1*rNxNTHd8YTj6i-QJBmjO4A.jpeg)<figcaption>Shinya Kasatani</figcaption>

In order to further increase the speed in creating test cases, Shinya Kasatani of Japan created Selenium IDE, a Firefox extension providing an easy-to-use interface for developing automated tests. Selenium IDE has a recording feature, which captures user actions as they are performed and then exports them as a reusable script in one of many programming languages that can be later executed. Selenium IDE was simply intended as a rapid prototyping tool. He donated Selenium IDE to the Selenium Project in 2006.

![](https://cdn-images-1.medium.com/max/431/1*q2twVixGkYbeNqchzsXgNQ.png)<figcaption>Selenium IDE’s main user interface</figcaption>

### The goodness

As mentioned earlier, _Selenium IDE was originally intended as a rapid prototyping tool_. It did not provide iteration or conditional statements for test scripts. However, it can be extended through its own [plugin system](http://www.seleniumhq.org/projects/ide/plugins.jsp), offering various extension points for people to enhance. Through time, [more and more plugins were introduced](http://www.seleniumhq.org/download/), which finally transformed Selenium IDE into a full-fledged functional test automation tool.

Currently, Selenium IDE supports not only recording and replaying, but also proper scripting, debugging, reporting, and so on. It also comes with a comprehensive list of most-used functions, so that the testers will not have to write them on their own. Time-saving was among the most persuasive benefits to draw people into the idea of test automation, after all.

![](https://cdn-images-1.medium.com/max/699/1*_ecSQoFYQo1xWy3mlzc1rQ.png)<figcaption>Selenium IDE’s plugin page</figcaption>

As stated by the [Selenium team](http://www.seleniumhq.org/docs/01_introducing_selenium.jsp#brief-history-of-the-selenium-project), the Selenium developers always encourage best practices in test automation that requires some amount of programming, with one of the many supported programming languages. The downside of this is that most testing frameworks (e.g [Protractor](http://www.protractortest.org/#/)) built on top of Selenium are very developer-centric. They will not work out of the box but require extra steps for installation and configuration programming language runtime and components before testers can start working on their projects. And I have not taken into account the time needed to train test engineers about the Page Object model, test cases organization, etc. — stuff that sometimes even developers get them wrong.

With that high barrier to entry and steep learning curve, many companies still stick with proprietary solutions like UFT or [TestComplete](https://smartbear.com/product/testcomplete/overview-b/), which provide comprehensive bells and whistles for doing automated testing, even when the underlying engine might be not as good as Selenium WebDriver. For people who pick Selenium, Selenium IDE is still the best way to get started. Moreover, for small teams of test engineers with a modest number of automated test cases, Selenium IDE can even be leveraged as a standalone tool, completely power their automation projects.

Without the experience that Selenium IDE offered, Selenium would only be popular among the community of developers — those who are not responsible for the testing job. Test engineers would have to resort to commercial services for achieving things open source could have done really well.

### The end

Despite the growth of its ecosystem, the Selenium IDE itself has not undergone many changes since the debut. One reason was that it has already fulfilled its originally designated mission. Another reason was that developers always had new cool stuff to focus on like powerful frameworks and tools, rather than spending time improving a petty tool for testers.

While being stable, Selenium IDE was built on Firefox’s add-on platform, which was fine at that time, but not anymore since Firefox has lost if dominant position. Chrome’s add-on platform was totally incompatible with the Firefox’s, and without any resource, there has not been a single attempt to port Selenium IDE to other web browsers.

When Mozilla decided to [shut down the old add-on platform](https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensions/Firefox_addons_developer_guide) at the end of this year, it was well accepted that Selenium IDE will no longer be around in the near future. And that test engineers have to look for something else.

![](https://cdn-images-1.medium.com/max/981/1*I8K9arDCH612EmOpD4bJ0w.png)<figcaption>Mozilla’s announcement of its platform changes</figcaption>

### The successors

> _Update: A good reference for_ [_Selenium IDE alternatives for Firefox & Chrome_](https://www.katalon.com/resources-center/blog/selenium-ide-alternative-firefox-chrome/#)

There were actually attempts to create Selenium-based tools for test engineers. They were supposed to be easy to install, arm with simple ways to script as well as convenient functions for logging, data-driven testing, reporting, etc.

One attempt that could have come close to Selenium IDE was [Robot Framework](http://robotframework.org/). The basic ideas for the Robot Framework were shaped in the [Pekka Klärck](http://eliga.fi/)’s masters thesis in 2005. The first version was developed at [Nokia Networks](https://en.wikipedia.org/wiki/Nokia_Networks) the same year. Test cases are written using keyword testing methodology written in a tabular format. There were also Robot Integrated Development Environment (RIDE), which simplifies writing test cases by providing framework specific code completion, syntax highlighting, etc.

The promising of Robot Framework failed to be realized by the complexity of installation, the lack of a standalone test recorder tool (which were achieved by a… [Selenium IDE’s plugin](https://blog.codecentric.de/en/2012/02/recording-robot-framework-keywords-with-selenium-ide/) instead), and a keyword-driven language with a modest level of descriptiveness.

![](https://cdn-images-1.medium.com/max/628/1*mcT45wnGIhfGKy2FyzEFHg.png)<figcaption>Robot Framework’s for-loop syntax</figcaption>

The second attempt —and a more modern one — was [Protractor](http://www.protractortest.org/#/). The best thing it brought about was installation. Within one command or two, everything — including both the testing framework and Selenium WebDriver — is installed nicely. And updating takes even fewer steps. Another good thing is Protractor uses JavaScript. As of 2017, JavaScript is one of the easiest programming languages for learning, which is greatly suitable for test engineers, especially those who only have a manual testing background.

But Protractor has only come this far for now. The bad thing about Protractor is that it is not an opinionated tool. Things are too unprepared, too flexible, so some _good developer_ has to jump in, set up the project, putting the right reporting plugin, write some Page Object scaffold before other members can start working on it. Not to mention that the Protractor team has messed with sync/async stuff — something I believe that test engineers do not need to be aware of.

The third attempt, which I discovered recently, is [Katalon Studio](http://www.katalon.com/). This is a good tool that was surprisingly little known. It was buried inside the list of Selenium’s sponsors when I found it. My initial impression on this tool is that it is like Selenium IDE, with a lot more.

One great thing I love about Katalon Studio is that it offers the best installation experience. The only step that has to be done is to unzip the package, and you will be ready to go. No programming language runtime, no extra components or plugins.

![](https://cdn-images-1.medium.com/max/1024/1*gUpyMB-Nb2neO6IKM5PLxA.png)<figcaption>Katalon Studio’s welcome screen</figcaption>

The scripting interface of Katalon Studio is unique compared to other Selenium-based tools. It allows switching between a keyword-based table (similar to Robot Framework) and a code editor at any time. This is tremendously helpful for someone who needs to learn to write Selenium test case on their own.

![](https://cdn-images-1.medium.com/max/699/1*L60qZuYanEqW2wB2qNuSHQ.png)

![](https://cdn-images-1.medium.com/max/1024/1*yWYYWD2T_IxyyLpS-_C2dw.png)<figcaption>Switching between two scripting interfaces in Katalon Studio</figcaption>

Katalon Studio also comes with recording capability to capture testers’ actions on web browsers in order to assist the test design process. Unlike Selenium IDE, this feature works on major web browsers — Chrome, Firefox, and Internet Explorer.

It seems that this tool also provides other convenient functions like reporting and integration. I would like to leave them for another article after exploring it more thoroughly. It is interesting to see a free Selenium-based tool with features and design on par with paid solutions like UFT.

### _Updated:_

> [_Katalon Automation Recorder_](https://www.katalon.com/resources-center/blog/katalon-automation-recorder/) _extension for_ [_Chrome_](https://chrome.google.com/webstore/detail/katalon-automation-record/ljdobmomdgdljniojadhoplhkpialdid?utm_source=chrome-ntp-icon) _and_ [_Firefox_](https://addons.mozilla.org/en-US/firefox/addon/katalon-automation-record/) _has been introduced by Katalon Studio team. This Extension was the champion project of Katalon Studio Hackathons contest. Katalon Automation Recorder was developed to support users who no longer be able to record and playback automation tests using the obsolete Selenium IDE or users of popular open-source frameworks looking for a handy recorder. The extension is compatible with Chrome and latest Firefox browsers and we will continue the development to support the newer versions._

> _You can use the extension to capture web elements and record actions on web applications to generate test cases easily. The intuitive interface allows users to edit, debug and play test cases & test suites quickly._

> _Selenese scripts generated by Selenium IDE can also be loaded into Katalon Automation Recorder and export to popular languages and formats: C# (NUnit), Java (TestNG and JUnit), Ruby (RSpec), Python (unittest), Groovy (Katalon Studio), and Robot Framework._ [_Learn more!_](http://forum.katalon.com/discussion/4056/quick-guide#latest)

### Conclusion

Selenium IDE, as well as Selenium on the whole, are great pieces of technology that changed the history of automated testing. With Selenium IDE is slow getting faded away, I hope other great developers will pick up its inspiration and continue with great successors for the mission of making software testing better every day.