Selenium is an open source tool for automating web application testing. It supports recording and playback of test cases in multiple programming languages and browsers. There are four main variants of Selenium: Selenium IDE for recording and playback directly in a browser, Selenium Remote Control for running tests on a Selenium server, Selenium Grid for parallel testing, and Selenium Core which runs tests directly in a browser using JavaScript. Selenium tests can be run on multiple platforms and browsers.