to use Phantomjs