My application is built with QML (Ubuntu SDK), and I need to get the HTML content from a page loaded with a Qt WebView after the page is loaded. Based on some initial research, it would appear that this used to be directly supported, but not anymore. I'm using Qt 5/QtWebKit 3. How can I get the source from the page with JavaScript?
Edit: I found out about the experimental object, but I've still not found what I need. More here: http://rschroll.github.io/beru/2013/08/21/qtwebview.experimental.html
Edit: just a broader perspective on what I'm trying to do. My application attaches to a user's Freshbooks account through OAuth. After they've entered their credentials, I need to be able to access the OAuth verifier code from the content of the page. Via the OAuth protocol, I don't know of any other way to get this code. I can't even have the user copy-paste it over, because you can't select text in the WebView :(