|
|
|
[
Permlink
| « Hide
]
Rob Dupuis - 07/Nov/07 08:43 AM
Err when I said mime encoded I meant base 64 encoded. Brain wrong.
This should be closed in favour of
Here is a patch that modifies selenium to add an API method for capturing a screenshot and returning it as a string which is a base64 encoded png file. This uses the Robot class to capture the current screen. The API method is called captureScreenshotToString.
I closed
My reasons: 1) This issue came first. :-) 2) The implementation behind this issue is instantly cross-language, returning a Base64 encoded string version of the screenshot, instead of a Java-specific BufferedImage. Read my comments in Code has been commited to subversion for this patch:
Core: svn revision 2084 RC: svn revision 2306 Remaining task is add some documentation to the wiki on how to use the new feature. Happy captureScreenshottingToFile, everyone! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||