Html parsing implementation using HtmlUnit library