Selenium is a portable framework for testing web applications. It is a free (open source) automated testing suite for web applications across different browsers and platforms. Selenium is a set of different software tools each with a different approach to supporting test automation.
Some key points about Selenium
- Selenium first came to life in 2004 when Jason Huggins was testing an internal application at ThoughtWorks.
- Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization. It has four components: Selenium Integrated Development Environment (IDE), Selenium Remote Control (RC), WebDriver, Selenium Grid.
- Only testing of web applications is possible with Selenium. We can neither test any desktop (software) application nor test any mobile application using Selenium.
- Since Selenium is open-source, there is no licensing cost involved, which is a major advantage over other testing tools.
- Test scripts can be written in any of these programming languages: Java, Python, C#, PHP, Ruby, Perl & .Net
Tests can be carried out in any of these OS: Windows, Mac or Linux.
- Tests can be carried out using any browser: Mozilla Firefox, Internet Explorer, Google Chrome, Safari or Opera.
- It can be integrated with tools such as TestNG & JUnit for managing test cases and generating reports.
- It can be integrated with Maven, Jenkins & Docker to achieve Continuous Testing.
- In 2006, Simon Stewart, who is an engineer in Google started working on the project; WebDriver. It solved many problems that were meant with the Selenium. 2008 was the golden break for both Selenium and WebDriver.