It's been a long time, but won't the button cause the browser to send a post or get (whichever action is specified in the form) to the server? It might be enough to decide the content of that and send it over the socket. I am probably thinking in CGI terms, which might not be what you need. ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse [stephane.ducasse@inria.fr] Sent: Saturday, May 29, 2010 4:14 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Using WebClient if you get answers from squeak-dev let us know. Stef On May 29, 2010, at 10:02 PM, Germán Arduino wrote:
Hi:
I'm trying to automate some operations on a web page that requires authentication.
I managed to arrive to the form that I need to process, authenticated without problems.
But I can't figure out how to process the button (is a button of this type:
<input class="lButton" style="" name="submit_search" value="Create File" type="submit"> ) to execute the Create File action.
The form have two dates (that I can calculate and fill in) but I can't to imagine how to process the submit button programmatically.
Any hint will be appreciated.
Cheers.
-- ================================================= Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com =================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project