I am using httpunit. In my application i have an image with just a src and a onclick .A javascript is called on the onclick of the image. It further call a next page. the code snippet is as follows
WebImage image = response.getImageWithSource("abc/xyz.png"); image.getScriptableObject().handleEvent("onclick");
I am not able to get the next page. Can anyone help me out. Thanks in advance.