Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.442 kB
#include "Node.h"
#include "WebPage.h"
Node::Node(WebPage *page, QObject *parent) : Command(page, parent) {
}
void Node::start(QStringList &arguments) {
QStringList functionArguments(arguments);
QString functionName = functionArguments.takeFirst();
QVariant result = page()->invokeCapybaraFunction(functionName, functionArguments);
QString attributeValue = result.toString();
emit finished(new Response(true, attributeValue));
}
Jump to Line
Something went wrong with that request. Please try again.