in reply to Re^6: 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?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: WWW::Mechanize - how to get the position of an element on my screen?
by mascip (Pilgrim) on Feb 01, 2012 at 23:24 UTC | |
by Corion (Patriarch) on Feb 02, 2012 at 08:21 UTC | |
by mascip (Pilgrim) on Feb 02, 2012 at 09:54 UTC |