Hi,
I am using the below code to do take the screenshots.
WebDriver augmentedDriver = new Augmenter().augment(driver);
File scrFile = ((TakesScreenshot)augmentedDriver).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(scrFile, new File(filename), true);
Works perfectlu with Android in windows 8 OS.
But when i try to run the same code in iOS and Mac, it results in a image with black color.
Wondering what could be the issue?
regards,
Naidu A S