Important: Please read the Qt Code of Conduct -

Question about html parsing with onClick and javascripts

  • hello
    i am new to Qt and using java.
    i want to get the html of a web-page AFTER generating all the javascripts AND after clicking certain "onClicks" buttons.
    i managed to generate the javascripts by setting:
    "QWebPage.settings().setAttribute(WebAttribute.JavascriptEnabled, true);"

    how can i tell it to evaluate certain "onClicks"? i.e. press certain buttons on the page and then generate the html?


Log in to reply