A while ago, PhantomJS 1.8 was released. According to the release notes it features built in support of the WebDriver Wire Protocol that is e.g. used by Selenium to remote control browsers.
The really cool thing of this feature is: To support Selenium tests on headless Linux boxes with real browsers (not HtmlUnit), you always needed a virtual XServer as Xvfb to make your browser run. In the past, we had too many problems trying to keep things running (Xvfb crashes, missing display ids, …).
My conclusion: In the next project when it comes to functional tests, I’ll definitely give PhantomJS together with Selenium a try.

