{"action":"created","issue":{"url":"https://api.github.com/repos/SpookyJS/SpookyJS/issues/201","repository_url":"https://api.github.com/repos/SpookyJS/SpookyJS","labels_url":"https://api.github.com/repos/SpookyJS/SpookyJS/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/SpookyJS/SpookyJS/issues/201/comments","events_url":"https://api.github.com/repos/SpookyJS/SpookyJS/issues/201/events","html_url":"https://github.com/SpookyJS/SpookyJS/issues/201","id":151018745,"number":201,"title":"Change viewport size under spooky","user":{"login":"JesusAdolfo","id":12354503,"avatar_url":"https://avatars.githubusercontent.com/u/12354503?v=3","gravatar_id":"","url":"https://api.github.com/users/JesusAdolfo","html_url":"https://github.com/JesusAdolfo","followers_url":"https://api.github.com/users/JesusAdolfo/followers","following_url":"https://api.github.com/users/JesusAdolfo/following{/other_user}","gists_url":"https://api.github.com/users/JesusAdolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusAdolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusAdolfo/subscriptions","organizations_url":"https://api.github.com/users/JesusAdolfo/orgs","repos_url":"https://api.github.com/users/JesusAdolfo/repos","events_url":"https://api.github.com/users/JesusAdolfo/events{/privacy}","received_events_url":"https://api.github.com/users/JesusAdolfo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T01:25:46Z","updated_at":"2016-04-26T01:32:44Z","closed_at":null,"body":"I tried to change the viewport size under the casperjs context doing something like\r\n\r\n```\r\nspooky.then( function () {\r\n.\r\n.\r\n.\r\n\r\n     this.options.viewportSize    = { width: 1366, height: 768 };\r\n.\r\n.\r\n```\r\n\r\nalso tried this.options.viewport and \r\nthis.viewport and\r\nthis.viewportSize\r\n\r\nnone of them worked... has someone tried this? \r\n\r\n            "},"comment":{"url":"https://api.github.com/repos/SpookyJS/SpookyJS/issues/comments/214580973","html_url":"https://github.com/SpookyJS/SpookyJS/issues/201#issuecomment-214580973","issue_url":"https://api.github.com/repos/SpookyJS/SpookyJS/issues/201","id":214580973,"user":{"login":"JesusAdolfo","id":12354503,"avatar_url":"https://avatars.githubusercontent.com/u/12354503?v=3","gravatar_id":"","url":"https://api.github.com/users/JesusAdolfo","html_url":"https://github.com/JesusAdolfo","followers_url":"https://api.github.com/users/JesusAdolfo/followers","following_url":"https://api.github.com/users/JesusAdolfo/following{/other_user}","gists_url":"https://api.github.com/users/JesusAdolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusAdolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusAdolfo/subscriptions","organizations_url":"https://api.github.com/users/JesusAdolfo/orgs","repos_url":"https://api.github.com/users/JesusAdolfo/repos","events_url":"https://api.github.com/users/JesusAdolfo/events{/privacy}","received_events_url":"https://api.github.com/users/JesusAdolfo/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T01:32:44Z","updated_at":"2016-04-26T01:32:44Z","body":"I was reading an outdated cheatsheet I believe... the answer is \r\n\r\n`this.viewport(1024, 768).then(function() {\r\n                this.echo(\"Changed viewport size\");\r\n            });`"}}