def capture_screenshot(self,filename):
self.do_command("<STR_LIT>", [filename,])<EOL>
Captures a PNG screenshot to the specified file.

'filename' is the absolute path to the file to be written, e.g. "c:\blah\screenshot.png"