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

Set a bigger window for save_and_open_screenshot #983

Conversation

gabebw
Copy link
Contributor

@gabebw gabebw commented Jun 19, 2019

1680x1050 is the size of a 15" retina Macbook Pro.

Without this setting, save_and_open_screenshot captures perhaps 75% of the screen, which makes it much less useful for debugging.

I'm sure some people have bigger screens, and could use an even larger window size, but this feels like a good default.

templates/chromedriver.rb Outdated Show resolved Hide resolved
@gabebw gabebw force-pushed the gbw-chromedriver-bigger-screenshots branch from 952bfd2 to 4d4b0de Compare June 19, 2019 07:22
@gabebw gabebw closed this Jun 27, 2019
@gabebw gabebw deleted the gbw-chromedriver-bigger-screenshots branch June 27, 2019 00:58
@gabebw gabebw restored the gbw-chromedriver-bigger-screenshots branch June 27, 2019 00:59
@gabebw gabebw reopened this Jun 27, 2019
1680x1050 is the size of a 15" retina Macbook Pro.

Without this setting, `save_and_open_screenshot` captures perhaps 75% of
the screen, which makes it much less useful for debugging.

I'm sure some people have bigger screens, and could use an even larger
window size, but this feels like a good default.
@gabebw gabebw force-pushed the gbw-chromedriver-bigger-screenshots branch from 4d4b0de to 598aa91 Compare June 27, 2019 01:02
@composerinteralia
Copy link
Contributor

Thanks!

@composerinteralia composerinteralia merged commit dd1a9b0 into thoughtbot:master Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants