From the course: Learning Selenium

Selenium overview - Selenium Tutorial

From the course: Learning Selenium

Start my 1-month free trial

Selenium overview

- [Instructor] Selenium was created by Jason Huggins while he worked at ThoughtWorks. Huggins was working on an internal time expense application and needed to make sure that the app was always working. He was constantly manually testing different browsers and spending a ton of time repeating the same actions over and over again. Huggins realized there had to be a better way to do this. He researched existing testing tools to use, but other testing tools were too focused on one specific browser or just cost way too much to justify using. Because none of the other tools fit his needs, Huggins decided to create Selenium version one. The API backing the first version of Selenium was called RC, which stands for Remote Control. Selenium RC used a proxy server to inject JavaScript into a browser in order to control it and drive interactions within a webpage, the same as a user would. In 2006, a couple years after Selenium was created, a guy named Simon Stewart created WebDriver. WebDriver solved some of Selenium one's pain points by not relying on intrusive JavaScript injection to drive the interactions through a browser. Instead, he provided a client for each browser. These clients had their own API and allowed native calls to be made directly to the browser. In 2009, Stewart and Huggins joined forces to make Selenium WebDriver, or Selenium 2.0. This version of Selenium supported both the RC and WebDriver APIs, although, at this time, users were urged to start using the WebDriver APIs only and not RC. In 2016, Selenium 3.0 was released. In this version of Selenium, the original Selenium RC API was removed and Selenium is now only backed by the WebDriver API. In Selenium versions two and one, Selenium was responsible for maintaining all of the drivers. But in Selenium three, browser vendors are now responsible for shipping their own implementations of browser drivers. This means that the browser vendors who know and own their browser code will be managing their own driver. Another big change is that there is now a W3C specification for browser automation based on the open source web driver. This means that there will be standards and guidelines for the API and how it is used going forward. What makes Selenium special is that it is a testing framework that can be used by everyone. It supports all major programming languages, platforms, and browsers. It offers a variety of testing tools for users of different experience levels and is compatible with other frameworks and applications. And it's an open source tool, making it accessible and free for everyone. Selenium also has a strong community of support. Throughout this course, you will come to see the power of Selenium through the features and capabilities that it offers and learn how Selenium can make automated web testing a breeze.

Contents