Add screenshotBase64 method