mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
12 lines
371 B
C++
12 lines
371 B
C++
#include "SetSkipImageLoading.h"
|
|
#include "WebPage.h"
|
|
#include "WebPageManager.h"
|
|
|
|
SetSkipImageLoading::SetSkipImageLoading(WebPageManager *manager, QStringList &arguments, QObject *parent) :
|
|
Command(manager, arguments, parent) {
|
|
}
|
|
|
|
void SetSkipImageLoading::start() {
|
|
page()->setSkipImageLoading(arguments().contains("true"));
|
|
emit finished(new Response(true));
|
|
}
|