def interact_page(self):
        """Execute JS event from front end on virtual tab"""
        self._open_tab()
        event = json.dumps(self.data.get('interaction', {}))
        try:
            self.tab.evaljs('window.livePortiaPage.sendEvent(%s);' % event)
        except JsError as e:
            print(e)
        self.cookies()
Execute JS event from front end on virtual tab
slyd/slyd/splash/commands.py