I have an <input type="button" onClick="Submit();"> that submits a form, I can successfully cause the submit to work using the click() method on the Button class but how I do I access the WebResponse that results from this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an <input type="button" onClick="Submit();"> that submits a form, I can successfully cause the submit to work using the click() method on the Button class but how I do I access the WebResponse that results from this?
Try using the WebConversation.getCurrentPage().
This, of course, is not a static method, so you must call it from an instance variable or WebConversation