in reply to Some issues with WWW::Mechanize::Firefox->xpath() method
I would assume that the substring() function wants a string and not a node, and thus one would need to use //p/text() to get at the node text if that is what's wanted.
The code of WWW::Mechanize::Firefox basically passes XPath queries straight through to Firefox, so if there is a Javascript error raised by the XPath method, that error most likely comes directly from Firefox itself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Some issues with WWW::Mechanize::Firefox->xpath() method
by Anonymous Monk on Apr 02, 2013 at 11:12 UTC | |
|
Re^2: Some issues with WWW::Mechanize::Firefox->xpath() method
by dfaure (Chaplain) on Apr 02, 2013 at 12:23 UTC | |
by Corion (Patriarch) on Apr 02, 2013 at 12:30 UTC | |
by dfaure (Chaplain) on Apr 02, 2013 at 13:10 UTC | |
by Anonymous Monk on Apr 02, 2013 at 12:42 UTC |