Вопрос

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