Use different approach to Phantomjs.