Selenium ChromeDriver makes blank screenshots

Solution 1:

It seems that this issue happened before. Check this: https://bugs.chromium.org/p/chromedriver/issues/detail?id=476

It's probably bug in new chromedriver 2.30. I had the same issue and the workaround is to connect to VM by Remote Desktop Connection. Problem only occurs when you use selenium remotely and noone is connected to node via RDC.

Hopefully next chromedriver version will fix this.

Solution 2:

This seems to be an issue with Chrome 59 itself:

https://bugs.chromium.org/p/chromedriver/issues/detail?id=1844&can=2&start=0&num=100&q=screenshots&colspec=ID%20Status%20Pri%20Owner%20Summary&groupby=&sort=-id

I tried reverting to Chromedriver 2.29, but got the same results (blank screenshot).

Solution 3:

Jenkins - RobotFramework - Selenium2Library: generated blank screenshots , after downgrade Chrome from v.59 to v.58 problem solved and screenshots are generated as expected. Old versions of Chrome : http://www.slimjet.com/chrome/google-chrome-old-version.php