Re: scripting browsers from Python

2005-06-03 Thread John J. Lee
[Michele Simionato] > > I would like to know what is available for scripting browsers from > > Python. [...] > > to do POST requests too. I don't want to use urllib to emulate a > > browser, I am > > interested in checking that browser X really works as intended with my > > application. Any suggest

Re: scripting browsers from Python

2005-06-03 Thread John J. Lee
Olivier Favre-Simon <[EMAIL PROTECTED]> writes: [...] > > I'd like to have a reimplementation of ClientForm on top of something > > like BeautifulSoup... > > > > > > John > > When taken separately, either ClientForm, HTMLParser or SGMLParser work > well. > > But it would be cool that competent

Re: scripting browsers from Python

2005-06-01 Thread Stephen Thorne
On 31 May 2005 00:52:33 -0700, Michele Simionato <[EMAIL PROTECTED]> wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emul

Re: scripting browsers from Python

2005-06-01 Thread Olivier Favre-Simon
On Wed, 01 Jun 2005 22:27:44 +, John J. Lee wrote: > Olivier Favre-Simon <[EMAIL PROTECTED]> writes: > >> On Tue, 31 May 2005 00:52:33 -0700, Michele Simionato wrote: >> >> > I would like to know what is available for scripting browsers from >> > Python. > [...] >> ClientForm http://wwwsea

Re: scripting browsers from Python

2005-06-01 Thread David Boddie
Michele Simionato wrote: > This looks interesting, but I need an example here. What would be the > command to open Konqueror to a given page and to post a form with given > parameters? Launch Konqueror, note the process ID (pid), and use the dcop command line tool to open the page at a specified U

Re: scripting browsers from Python

2005-06-01 Thread John J. Lee
Olivier Favre-Simon <[EMAIL PROTECTED]> writes: > On Tue, 31 May 2005 00:52:33 -0700, Michele Simionato wrote: > > > I would like to know what is available for scripting browsers from > > Python. [...] > ClientFormhttp://wwwsearch.sourceforge.net/ClientForm/ > > I use it for automation of PO

Re: scripting browsers from Python

2005-06-01 Thread Jeff Epler
I wanted to have a Python program make my browser do a POST. I am using Firefox on Linux. Here's what I did: * Prepare a HTML page on the local disk that looks like this: http://www.example.com/cgi-bin/example.cgi";> Submitting form.

Re: scripting browsers from Python

2005-06-01 Thread has
Simon Brunning wrote: > On 31 May 2005 00:52:33 -0700, Michele Simionato > <[EMAIL PROTECTED]> wrote: > > I would like to know what is available for scripting browsers from > > Python. > > I don't know of anything cross platform, or even cross browser, but on > Windows, IE can be automated via COM

Re: scripting browsers from Python

2005-06-01 Thread Michele Simionato
This looks interesting, but I need an example here. What would be the command to open Konqueror to a given page and to post a form with given parameters? kde.org has tons a material, but I am getting lost and I don't find anything relevant to my simple problem. Michele Sim

Re: scripting browsers from Python

2005-05-31 Thread Olivier Favre-Simon
On Tue, 31 May 2005 00:52:33 -0700, Michele Simionato wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emulate a > browse

Re: scripting browsers from Python

2005-05-31 Thread John J. Lee
"Michele Simionato" <[EMAIL PROTECTED]> writes: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emulate a > browser, I am > int

Re: scripting browsers from Python

2005-05-31 Thread Kent Johnson
Simon Brunning wrote: > On 31 May 2005 00:52:33 -0700, Michele Simionato > <[EMAIL PROTECTED]> wrote: > >>I would like to know what is available for scripting browsers from >>Python. > > I don't know of anything cross platform, or even cross browser, but on > Windows, IE can be automated via COM

Re: scripting browsers from Python

2005-05-31 Thread davidb
Michele Simionato wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like to do POST requests too. I don't want to use urllib to > emulate a browser, I am interested in checking that br

Re: scripting browsers from Python

2005-05-31 Thread Simon Brunning
On 31 May 2005 00:52:33 -0700, Michele Simionato <[EMAIL PROTECTED]> wrote: > I would like to know what is available for scripting browsers from > Python. > For instance, webbrowser.open let me to perform GET requests, but I > would like > to do POST requests too. I don't want to use urllib to emul