From bcfb35d65a7b9f52b9aa126adc63413d7c518d41 Mon Sep 17 00:00:00 2001 From: Michael Gohl Date: Wed, 30 Nov 2016 09:23:58 +0100 Subject: [PATCH] Update qtrender.py Adding JS Messages to render.json Output --- splash/qtrender.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/splash/qtrender.py b/splash/qtrender.py index daf468e18..5b5dfdf6c 100644 --- a/splash/qtrender.py +++ b/splash/qtrender.py @@ -241,6 +241,9 @@ def get_result(self): if self.include['console'] and self.js_console_output: res['console'] = self.js_console_output + + if self.include['console']: + res['console_page'] = self.tab.web_page.console_log res.update(self.tab.iframes_info( children=self.include['iframes'],