Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^10: WWW::Mechanize - how to get the position of an element on my screen?

by mascip (Pilgrim)
on Feb 02, 2012 at 09:54 UTC ( #951398=note: print w/ replies, xml ) Need Help??


in reply to Re^9: WWW::Mechanize - how to get the position of an element on my screen?
in thread WWW::Mechanize - how to get the position of an element on my screen?

Thank you ! Same algorithms, other language. Should be fairly simple =o)

In my searches on internet, i found that Mozilla::Mechanize seems to do this another way. The elements it returns are Mozilla::DOM::HTMLElement, and it gets their position thanks to a QueryInstance.
I don't know what a DOM:HTMLElement are, nor QueryInstance. I don't have the time to learn these now, and know that i want to use WWW::Mechanize::Firefox, so i could as well forget about it for now.

I was just wondering if it was equivalent to using XPath in the end, and if a few words could make me understand.
If not, it's all alright : i now know i should use XPath.
And if i need to understand these, i'll read a book about it.


Comment on Re^10: WWW::Mechanize - how to get the position of an element on my screen?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951398]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-09-20 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls