thoughtbot/capybara-webkit

View on GitHub
src/SetPromptText.cpp

Summary

Maintainability
Test Coverage
#include "SetPromptText.h"
#include "WebPage.h"
#include "WebPageManager.h"

SetPromptText::SetPromptText(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}

void SetPromptText::start()
{
  page()->setPromptText(arguments()[0]);
  finish(true);
}