• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

HtmlUnit and getAnchors()

 
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.
 
Get me the mayor's office! I need to tell him about this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!