Definition: Selenium WebDriver is a collection of open source APIs which are used to automate the testing of a web application. It does not qualify for window-based applications. It also supports different programming languages such as C#, Java, Perl, PHP and Ruby for writing test scripts .