Move Console.exit() for PhantomJS into the Browser adapter.