Added support for PhantomJS driver