alexandresalome/PHP-Selenium — pull request #3 by burnabitPV (2012-06-25 10:22:10+00:00)
Title: Fixed capture*ScreenshotToString() methods

Hi alexandre,

first of all thank you very much for your implementation of the php-selenium bundle.

I'm currently writing a small CLI tool that makes screenshotsof an entire page tree. I noticed that captureScreenshotToString/captureEntirePageScreenshotToString output the image data directly into the terminal window/stdout - not into a variable as expected.

I'm still not sure where or why the data was printed out but changing the driver call from "action" to "getString" makes the methods behave exactly as described in the phpdoc comments.

Thanks again for all your work.

Best regards,

Paul