Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

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?

    thanks
    Sagy


Log in to reply