Sha256: 21f901a87d4fa10a5ff7d0b93de3e99a139ff9aa2d2d1598fd87d204cca17283

Contents?: true

Size: 356 Bytes

Versions: 26

Compression:

Stored size: 356 Bytes

Contents

#include "Body.h"
#include "WebPage.h"
#include "WebPageManager.h"

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

void Body::start() {
  if (page()->contentType().contains("html"))
    finish(true, page()->currentFrame()->toHtml());
  else
    finish(true, page()->body());
}

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
capybara-webkit-1.15.1 src/body.cpp
capybara-webkit-1.15.0 src/body.cpp
capybara-webkit-1.14.0 src/body.cpp
capybara-webkit-1.13.0 src/body.cpp
capybara-webkit-1.12.0 src/body.cpp
capybara-webkit-1.11.1 src/body.cpp
capybara-webkit-1.11.0 src/body.cpp
capybara-webkit-1.10.1 src/body.cpp
capybara-webkit-1.10.0 src/body.cpp
capybara-webkit-1.9.0 src/body.cpp
capybara-webkit-1.8.0 src/body.cpp
capybara-webkit-1.7.1 src/body.cpp
capybara-webkit-1.7.0 src/body.cpp
capybara-webkit-1.6.0 src/body.cpp
capybara-webkit-1.5.2 src/body.cpp
capybara-webkit-1.5.1 src/body.cpp
capybara-webkit-1.5.0 src/body.cpp
capybara-webkit-1.4.1 src/body.cpp
capybara-webkit-1.4.0 src/body.cpp
capybara-webkit-1.3.1 src/body.cpp