Commit ddd3bb07 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add new script

parent 76703af5
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment