Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Webkit automatic



  • Hello, I'm wanting to make the webkit create accounts on one site, or automatically fill out forms, send and retrieve the result that appears on an element (h1). The result that appears in the element (h1) is just a text indicating whether it was possible to create the account or not.

    Thank you.



  • If i clearly understand you, you want to fill element in html code by c++ source code?
    If yes, you can ,to that by EvaluateJavaScript in qwebview, for example if you have element which id is macid and function which return value , which you fill this element name getMacAdres() you can do this evaluateJavaScript("macid.value='"+WebApi.getMacAddress()+"'")


Log in to reply