Sha256: d32ee24b493c36632747d961d376349c26ccf111fa266f5d7b088a4e6a617f93

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

#include "Url.h"
#include "WebPage.h"

Url::Url(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, arguments, parent) {
}

void Url::start() {
  QUrl humanUrl = page()->currentFrame()->url();
  QByteArray encodedBytes = humanUrl.toEncoded();
  emit finished(new Response(true, encodedBytes));
}

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
imseng-capybara-webkit-0.12.1 src/Url.cpp
capybara-webkit-0.12.1 src/Url.cpp
otherinbox-capybara-webkit-0.12.0 src/Url.cpp
capybara-webkit-0.12.0 src/Url.cpp