java code for webbot coding