This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HtmlUnit and getAnchors()

 
Al Finlay
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic