Using screenshot_embed for takeScreenshot. so that callback gets called