summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-04 11:15:32 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-04 11:15:32 (GMT)
commitddd3bb07cdd371a04c22eabcaf9b4fa16563132e (patch)
tree05014cb6be1c6aa199743ef2801a3c09d4b2e07d
parent76703af546c7cd83e6268f6ea41cf70a99525c32 (diff)
Add new script
-rw-r--r--webengineviewer/src/tests/testwebenginescript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/webengineviewer/src/tests/testwebenginescript.cpp b/webengineviewer/src/tests/testwebenginescript.cpp
index a85afe9..889a8ee 100644
--- a/webengineviewer/src/tests/testwebenginescript.cpp
+++ b/webengineviewer/src/tests/testwebenginescript.cpp
@@ -165,6 +165,7 @@ void TestScriptWidget::fillScriptCombo(QComboBox *scriptCombo)
scriptCombo->addItem(QStringLiteral("scroll down"), WebEngineViewer::WebEngineScript::scrollDown(0));
scriptCombo->addItem(QStringLiteral("scroll up"), WebEngineViewer::WebEngineScript::scrollUp(0));
scriptCombo->addItem(QStringLiteral("scroll percentage"), WebEngineViewer::WebEngineScript::scrollPercentage(0));
+ scriptCombo->addItem(QStringLiteral("Test is bottom"), WebEngineViewer::WebEngineScript::isScrolledToBottom());
#if 0
WebEngineViewer::WebEngineScript::setElementByIdVisible(const QString & elementStr, bool visibility);
WebEngineViewer::WebEngineScript::setStyleToElement(const QString & elementStr, const QString & style);