There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
webdriver screenshot file format
I’m using the following java code to capture screenshot of physical windows device (Nokia Lumia 1520), which has Windows phone Webdriver installed and running.
File source = ((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);
Screenshot image is received as .png file, but I’ve noticed that there was lot of noise on the picture not typical for .png. On closer look in HEX editor I’ve found that the screenshot is actually .jpg format
Is it possible to have .png image with lossless compression or at least .jpg with no or minimal compression? I need such clear images for automated image comparison.