Take a screenshot

def screenshot(self, filename=None):
        """ Take a screenshot """
        # screen size: 1280x720
        screen = self._ymc.screenshot()
        if filename:
            screen.save(filename)
        return screen