code: def screenshot(self):
          
          b64data = self.http.get('/screenshot').value
          raw_data = base64.b64decode(b64data)
          from PIL import Image
          buff = io.BytesIO(raw_data)
          return Image.open(buff)
docs: Take screenshot with session check
  
          Returns:
              PIL.Image