Open ghost opened 9 years ago
module.exports = { 'Some screenshots': function(test) { test .open('http://google.at') .resize({ width: 320, height: 568 }) .screenshot('google.png') .done(); } }
Either with -b chrome or phatomjs, resize doesnt give the size i specified!
-b chrome
Result without -b flag: google.png with 601x568 Result with -b chrome: google.png with 420x471 :scream_cat:
google.png
What's wrong with?
Very interesting. This is probably Webdriver related, as there is no magic applied from Dalek, to make this happen. I´m going to look into this.
Either with
-b chrome
or phatomjs, resize doesnt give the size i specified!Result without -b flag:
google.png
with 601x568 Result with -b chrome:google.png
with 420x471 :scream_cat:What's wrong with?