dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

resize doesnt work properly #155

Open ghost opened 9 years ago

ghost commented 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!

Result without -b flag: google.png with 601x568 Result with -b chrome: google.png with 420x471 :scream_cat:

What's wrong with?

asciidisco commented 9 years ago

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.