I'm running Selenium WebDriver 2.40 on my Mint 16 box. No remote, no VM, plain running. But then when I try capturing a screenshot of page for debug purposes via Codeception, I get white image, both with Firefox and Google Chrome driver.

How to fix it?

EDIT: Similar also occurs with PhantomJS driver, but it's transparent image instead of white image.

有帮助吗?

解决方案

It was because I used Laravel4 module, which bypassed PhantomJS stuff.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top