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

Poltergeist screen size #217

Open
zacharyjt opened this issue Aug 31, 2017 · 2 comments
Open

Poltergeist screen size #217

zacharyjt opened this issue Aug 31, 2017 · 2 comments
Labels

Comments

@zacharyjt
Copy link

I've just switched to using poltergeist as my driver, and am having an issue with my screenshots. They will save fine, but the images are only about 10px tall. I have my current window size in capy/poltergeist set to 1680x1050. The strange thing is, the issue only occurs on our pages that use Ember... other page images are appropriately sized. A similar thing occurred when I first started using capybara-webkit, until I was told I had to set the webkit_options. Is there a similar setting for poltergeist that I'm not seeing?

Also, if I do a save_screenshot, the image on the very same page looks fine. It's screenshot_and_save_page and screenshots on failures that have this issue.

@mattheworiordan
Copy link
Owner

Hi @zacharyjt, I am sorry but I can't allocate time to working out why this effects you only for Ember :( Did you manage to ever figure it out?

@zacharyjt
Copy link
Author

Unfortunately no, but I've decided to go back to using capybara-webkit for now.

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

2 participants