Here is the syntax I was talking about during the meeting the other day. To change you're user agent using java and httpunit. WebConversation webCon = new WebConversation; webCon.setUserAgent("mozilla/5.0");