PhantomJS is another headless browser besides HtmlUnit. It is light weight and faster. This article will show you how to use it step by step.
HTMLUnitDriver is not like other web browser driver, it is light weight and headless. It will not display 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.