Selenium is an open source tool for automating web application testing across browsers. It supports recording and playback of test cases and has several components including Selenium IDE, Selenium Remote Control, WebDriver, and Selenium Grid. WebDriver is the successor to Remote Control and allows controlling the browser at the OS level. Tests can be written in various programming languages and are used mainly for regression testing.