سؤال

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