Sha256: 5a3946471c0e029773330ed1707cd3aafe4fb715a00a1404db8c37efc0a221f3

Contents?: true

Size: 457 Bytes

Versions: 4

Compression:

Stored size: 457 Bytes

Contents

#include "Node.h"
#include "WebPage.h"

Node::Node(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, arguments, parent) {
}

void Node::start() {
  QStringList functionArguments(arguments());
  QString functionName = functionArguments.takeFirst();
  QVariant result = page()->invokeCapybaraFunction(functionName, functionArguments);
  QString attributeValue = result.toString();
  emit finished(new Response(true, attributeValue));
}

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
imseng-capybara-webkit-0.12.1 src/Node.cpp
capybara-webkit-0.12.1 src/Node.cpp
otherinbox-capybara-webkit-0.12.0 src/Node.cpp
capybara-webkit-0.12.0 src/Node.cpp