So far I've been using "ui->browser->page()->mainFrame()->toHtml();"
It returns fine the static HTML, but several pages use javascript, therefore a lot of parts are looking like this "Loading..." instead of the actual information.
Is there anyway to get the DOM HTML?
The specific piece of HTML that I'm trying to get right now is below;
<tr class="data">
<td class="desc timer">
<span id="Countdown">Loading...</span>
</td>
</tr>
<tr class="data">
<td class="desc timer">
<span id="Countdown">Loading...</span>
</td>
</tr>
To copy to clipboard, switch view to plain text mode
And the result I'm trying to get programatically would be something like this;
<tr class="data">
<td class="desc timer">
<span id="Countdown">2h 44m 18s</span>
</td>
</tr>
<tr class="data">
<td class="desc timer">
<span id="Countdown">2h 44m 18s</span>
</td>
</tr>
To copy to clipboard, switch view to plain text mode
Thanks,
LuÃ*s.
Bookmarks