Selenium webdriver

use selenium-webdriver API instead of phantomJS. (better performance and CSS (media Queries) interpretations