FWIW, if you fireup firefox web console with ctrl+shift+k and execute
you will get a [object XPathResult], and if you click on it, there will be a stringValue: "Comment o"document.evaluate( 'substring(//title,1,9)', document , null , XPathRe +sult.ANY_TYPE , null )
So you need Dump-er earlier and pick the right key/attribute
Found by grep for xpath in mechanize-firefox/mozrepl, lookup https://developer.mozilla.org/en-US/docs/DOM/document.evaluate and https://developer.mozilla.org/en-US/docs/Introduction_to_using_XPath_in_JavaScript
In reply to Re: Some issues with WWW::Mechanize::Firefox->xpath() method (ctrl+shift+k, stringValue)
by Anonymous Monk
in thread Some issues with WWW::Mechanize::Firefox->xpath() method
by dfaure
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |