mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
14 lines
377 B
C++
14 lines
377 B
C++
|
#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);
|
||
|
}
|
||
|
|