X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fphantom%2Fscreenshot.js;h=08e230d43b439cb088546832564b0fe7055bbcd6;hb=ad3295052fac50a2f7b9a9e50043dc02a8d119ac;hp=a91addfd1463068149731b72db1b8a0c0ecc85f3;hpb=2bb7ba31bc441a60f68ed1bc608a9d69ee483ae9;p=mkws-moved-to-github.git diff --git a/test/phantom/screenshot.js b/test/phantom/screenshot.js index a91addf..08e230d 100644 --- a/test/phantom/screenshot.js +++ b/test/phantom/screenshot.js @@ -15,6 +15,11 @@ page.viewportSize = { height: system.args[4] ? system.args[4] : 1000 }; +page.clipRect = { + width: page.viewportSize.width, + height: page.viewportSize.height +}; + page.open(url, function () { // small delay setTimeout(function () {