mascip has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
i'm new here, and quite new to Perl, WWW::Mechanize and WWW::Mechanize::Firefox.
I'm playing moving around in a page with HTML::TreeBuilder. I get references of the elements (HTML::Element) i need, that all ok.
What i need then, is to retrieve the position of an element on my screen. So, how can i build this get_position_of() function :
Thank you :o)my ( $x, $y ) = get_position_of( $my_html_element );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize - how to get the position of an element on my screen?
by Corion (Patriarch) on Jan 31, 2012 at 19:17 UTC | |
by mascip (Pilgrim) on Jan 31, 2012 at 20:37 UTC | |
|
Re: WWW::Mechanize - how to get the position of an element on my screen?
by Anonymous Monk on Jan 31, 2012 at 19:01 UTC | |
by mascip (Pilgrim) on Jan 31, 2012 at 19:18 UTC | |
by Corion (Patriarch) on Jan 31, 2012 at 19:22 UTC | |
by mascip (Pilgrim) on Jan 31, 2012 at 20:31 UTC | |
by Corion (Patriarch) on Jan 31, 2012 at 21:19 UTC | |
|