HTMLUnitDriver Example To Run Selenium Webdriver Test Cases

HTMLUnitDriver is not like other web browser drivers, it is lightweight and headless. It will not display a graphic user interface at run time, this can save a lot of system resources and make your test application run faster. But it is a full feature browser driver.