QWebView: Get coordinates of an element and simulate a relative tothis position.

G

Gelonida

WHht I wondered is following:

Let's assume I use a QWebView,

As soon as the page is loaded ( loadFinished signal)
I'd like to identify a certain element with findFirstElement(), get
it's coordinates (and size) calculate some related coordinates (for
example 20 pixel above the top left corner of this element
and clcik there.


SO my questions:
- how can I get the coordinate of an element, that I found with
findFirstElement()
- how can I click in the browser window relative to the coordinate
previously obtained



Thanks in advance for any suggestions ideas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top