-
Notifications
You must be signed in to change notification settings - Fork 161
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
Getting black spot on the Chrome - Tablet Emulator screenshot while Capturing the entire page #71
Comments
Hello. It looks like your phone emulator has Try to use
|
As I understood, you are using build in Chrome tools to emulate tablet. Are you using Chrome's presets for it or custom capabilities? Which kind of tablet you want to emulate? Can you show me how are you doing it? |
Hi, yes i am using the build in Chrome emulator. I am using the below custom capability provided in the chromedriver.exe. I am trying to emulate Apple iPad device.
|
Consider this code string |
Hi, I have added the capability as per your suggestion. Still, i am getting this issue. Please advice. Please find the code below. Browser Setup: AShot:
or |
Are you getting this when trying to take screenshot of other page? If you are launching chrome locally I need to know you local dpr, it also can be != 1. |
It's really looks like a bug for me in viewport_height.js for chrome emulation in portrait mode.
@seliniumtester you could workaround your code by using landscape orientation for now
|
Also i am getting the below warning message in the console when Ashot takes screenshot. Please advice. May 30, 2016 10:49:06 PM org.openqa.selenium.remote.Augmenter extractRemoteWebDriver |
@seliniumtester Could you please take look at |
WebDriver driver = new ChromeDriver(); use DPR here : you will get rid of Black Space from ScreenShot |
Getting black spot on the Chrome-Tablet emulator screenshot while Capturing the entire page by using
new AShot()
.shootingStrategy(ShootingStrategies.viewportPasting(100))
.takeScreenshot(webDriver);
Same works fine for Chrome- Phone emulator.
Please provide resolution for this issue.
Here is the code.
String baseUrl = "https://github.com/yandex-qatools/ashot";
Tablet Screenshot:
Phone Screenshot:
The text was updated successfully, but these errors were encountered: