Implement missing getScreenshot method.