Skip to content
Newer
Older
100644 12 lines (8 sloc) 289 Bytes
62b4991 @joefiorini Add ability to query for console messages & errors
joefiorini authored
1 #include "ConsoleMessages.h"
2 #include "WebPage.h"
3
4 ConsoleMessages::ConsoleMessages(WebPage *page, QObject *parent) : Command(page, parent) {
5 }
6
7 void ConsoleMessages::start(QStringList &arguments) {
8 Q_UNUSED(arguments);
9 emit finished(new Response(true, page()->consoleMessages()));
10 }
11
Something went wrong with that request. Please try again.