Commit 42888a60 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Other test

parent 6bacb01a
......@@ -73,7 +73,7 @@ void TestWebEngineScrollAddAttachment::handleScrollToAnchor(const QVariant &resu
void TestWebEngineScrollAddAttachment::slotScrollToAttachment()
{
mTestWebEngine->page()->runJavaScript(MessageViewer::WebEngineScript::searchElementPosition(QStringLiteral("#footer_text")), invoke(this, &TestWebEngineScrollAddAttachment::handleScrollToAnchor));
mTestWebEngine->page()->runJavaScript(MessageViewer::WebEngineScript::searchElementPosition(QStringLiteral("#module")), invoke(this, &TestWebEngineScrollAddAttachment::handleScrollToAnchor));
}
int main(int argc, char *argv[])
......
Markdown is supported
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