aspose file tools*
The moose likes Other Open Source Projects and the fly likes HtmlUnit and getAnchors() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "HtmlUnit and getAnchors()" Watch "HtmlUnit and getAnchors()" New topic
Author

HtmlUnit and getAnchors()

Al Finlay
Greenhorn

Joined: Oct 26, 2012
Posts: 16
Hi. I'm stumped on something and I'm sure it must be something simple that I'm just not seeing.



This works and outputs ..
290 logout/?_xfToken=13475%2C1352579233%2Cd210ac1778c4202f630d901a885422022323232f

But this does not work ..



It reports ..
ElementNotFoundException: elementName=[a] attributeName=[href] attributeValue=[logout/?_xfToken=13475%2C1352579233%2Cd210ac1778c4202f630d901a885422022323232f]

It's driving me nuts. I've looked at it again and again and it looks like the same thing to me. What am I missing? Do I have to escape something in the string or something? I tried // no luck
Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HtmlUnit and getAnchors()