Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HtmlUnit and getAnchors()  RSS feed

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
Boost this thread!