Removing deprecated method take_screenshot