HtmlUnit click() behaves differently?

Posted by rhcp2p on Stack Overflow See other posts from Stack Overflow or by rhcp2p
Published on 2010-05-26T13:39:03Z Indexed on 2010/05/26 13:41 UTC
Read the original article Hit count: 180

Filed under:

Hi, A question regarding the HtmlUnit java libary: I've created a log on my server, and noticed that the click() method doesn't pass the "referral" information when it is invoked through a "HtmlElement" or "HtmlArea". when invoked through the more commonly used HtmlAnchor- the refferral information is passed.

This is strange since HtmlAnchor is a Subclass of HtmlElement

Thanks for the help

© Stack Overflow or respective owner

Related posts about htmlunit