Selenium include FirefoxDriver and you do not have have to add any code for this. All you need is just install Firefox. For Chrome, you have to install ChromeDriver. For Safari, you have to Follow my post.