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

Handle iOS auto scale to fit website #65

Merged
merged 10 commits into from
Feb 25, 2017
Merged

Handle iOS auto scale to fit website #65

merged 10 commits into from
Feb 25, 2017

Conversation

zinserjan
Copy link
Owner

iOS scales the page when website's width is bigger than the screen width. This happens for example for webpages like the desktop version of github.

https://github.com/zinserjan/wdio-screenshot

This PR adds support for this kind of scaling and creates screenshots like the folllowing:

github-ipad-ios-10-landscape

Unfortunately there seems to be bug in iOS that affects the scaling while we scroll and capture screenshots, so that we get the following screenshot. There's nothing we can do about it.

github-ipad-ios-10-portrait

@zinserjan zinserjan merged commit 2fce86d into master Feb 25, 2017
@zinserjan zinserjan deleted the scaled-websites branch February 25, 2017 14:44
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.

1 participant