"be consistent" | |
PerlMonks |
Re^7: WWW::Mechanize - how to get the position of an element on my screen?by Corion (Patriarch) |
on Feb 01, 2012 at 07:28 UTC ( [id://951136]=note: print w/replies, xml ) | Need Help?? |
WWW::Mechanize::Firefox only works with Firefox. There is no way to make HTML::TreeBuilder::XPath objects work with it. Again, if you want element positions, you need Javascript. HTML::Tree / TreeBuilder don't do Javascript (or other HTML layout). WWW::Mechanize::Firefox does XPath and Javascript. It has other drawbacks, like needing a display.
In Section
Seekers of Perl Wisdom
|
|