Thursday, 29 August 2013

Get the Whole Black Image When Using the TakesScreenshot in WebDriver Test with ChromeDriver

Get the Whole Black Image When Using the TakesScreenshot in WebDriver Test
with ChromeDriver

As the title mentioned above, I need to capture the browser screen using
the TakesScreenshot class and save as the image file while running my
WebDriver tests.
However, I got what I was expected in Firefox and IE browsers except the
Chrome, which just created the whole black image.
Of course, I have searched for the solution serval times but still not
fixed it yet. Any idea with this problem?
Tools: selenium-java-2.34.0.jar ChromeDriver v2.2

No comments:

Post a Comment