vendredi 23 novembre 2018

[Ashot][Selenium] - Take screenshot for iOS and Android

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

Aucun commentaire:

Enregistrer un commentaire