thoughtbot/capybara-webkit

View on GitHub
src/FindXpath.cpp

Summary

Maintainability
Test Coverage
#include "FindXpath.h"
#include "WebPage.h"
#include "WebPageManager.h"
#include "InvocationResult.h"

FindXpath::FindXpath(WebPageManager *manager, QStringList &arguments, QObject *parent) : JavascriptCommand(manager, arguments, parent) {
}

void FindXpath::start() {
  InvocationResult result = page()->invokeCapybaraFunction("findXpath", true, arguments());
  finish(&result);
}