Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resize doesnt work properly #155

Open
ghost opened this issue Apr 14, 2015 · 1 comment
Open

resize doesnt work properly #155

ghost opened this issue Apr 14, 2015 · 1 comment
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Apr 14, 2015

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 🙀

What's wrong with?

@asciidisco asciidisco added the bug label Apr 23, 2015
@asciidisco asciidisco self-assigned this Apr 23, 2015
@asciidisco
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant