Sub-frames access
-
Hello everybody
Documentation says that it is impossible to gain access to sub-frames iframes.
https://wiki.qt.io/Porting_from_QtWebKit_to_QtWebEngine
I don't know the others, but my projects are actively using this opportunity and ban access to it sounds at least strange. I just can't use QWebEngine in their projects.
Any workaround please
-
I need this too. I'm also missing some functionality to iterate over web form elements, determine frame name, ...
So for me the QtWebEngine is not complete and has many bugs
-
Not sure if your problem is the same as mine, but try to pass the "--disable-web-security" argument to the QApplication object in your main.cpp.
-
@knt261 Thank you very much! This permits access to the contents of the iframe from javascript
-
@knt261 how can i access sub frames with this argument,?
-
@yage how did you solve it?
-
js jquery example:
$("iframe").contents().find("...")