text: #include "Find.h"
  #include "SocketCommand.h"
  #include "WebPage.h"
  #include "WebPageManager.h"
  
  Find::Find(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
  }
  
  void Find::start() {
    QString message;
    QVariant result = page()->invokeCapybaraFunction("find", arguments());
  
    if (result.isValid()) {
      message = result.toString();
      emitFinished(true, message);
    } else {
      emitFinished(false, QString("Invalid XPath expression"));
    }
  }
  
  