-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fullpage SS Changes #51
Conversation
169b6f4
to
9befb33
Compare
9befb33
to
1051820
Compare
if (options != null) { | ||
provider.screenshot(name, options.getDeviceName(), options.getStatusBarHeight(), | ||
options.getNavBarHeight(), options.getOrientation(), fullScreen); | ||
provider.screenshot(name, options, fullScreen); | ||
} else { | ||
provider.screenshot(name, null, null, null, null, | ||
fullScreen); | ||
provider.screenshot(name, new ScreenshotOptions(), fullScreen); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe
options ||= new ScreenshotOptions();
provider.screenshot(name, options, fullScreen);
return tiles; | ||
} | ||
|
||
public String screenshot(String name, ScreenshotOptions options, Boolean fullScreen) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good refactor, I would want to make same for c# as well. Btw you can add fullScreen to options as well. Do not change customer side screenshot function though
Added changes required for fullpage SS