I\'m writing a simple PhantomJS app that scrapes particular pages looking for patterns. In one of these pages, the owner of the site is reading the window.screen
window.screen
You can't set the window.screen values in the LoadStarted event, but you can in the Intialized event. So, instead, the code would look like this:
LoadStarted
Intialized
tab.onInitialized = function () { tab.evaluate(function () { window.screen = { width: 1920, height: 1080 }; }); };