Actually I want to run my selenium code on server where dont want open the any browser. But I am confused which webdriver is use for the server which do all task (where I do
To execute your Test Suite through Selenium without opening any browser you can use any of the Browser Client from the following list :
Headless Browser is a web browser without a Graphical User Interface controlled programmatically used for automation, testing, and other purposes.
These Headless Browser Engines fully render web pages or run JavaScript in a virtual DOM :
These Headless Multi Drivers libraries can control multiple browser engines (typically using Selenium) :
HtmlUnitDriver and PhantomJSDriver are two webdrivers for headless testing without need of opening browsers.