1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/FindXpath.cpp

14 lines
377 B
C++
Raw Normal View History

2013-02-26 14:44:22 -05:00
#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", arguments());
finish(&result);
}