Selenium is an open source automated testing tool used for testing web applications. It was originally developed in 2004 as a JavaScript library to automate testing routines. Selenium has evolved over time and now includes several tools: Selenium IDE for rapid test creation, Selenium RC which injects JavaScript into browsers, and Selenium WebDriver which allows direct communication with browsers. Selenium tests can be run across multiple browsers and operating systems to test web applications.