I am currently trying to implement Ashot to take screenshots for my current project , it is working for desktop.
But I would like to know how to implement it for iOS and Android devices, there is not much information available on the internet.
I have used the following, viewport and it is taking screenshot for ipad:
Screenshot FullPage = new AShot().shootingStrategy(ShootingStrategies.viewportRetina(100, 0, 0, 2)).takeScreenshot(driver);
but I would like to know how to play around with the given properties to produce screenshots for other IOS and android devices.
Thanks,
Kiera
没什么区别))) 除了dpr
只需要稍微使用这个参数,我猜:) 并且不要忘记在这里阅读信息https://github.com/pazone/ashot/issues
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.