Re: scripting browsers from Python



"Michele Simionato" <michele.simionato@xxxxxxxxx> 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
> interested in checking that browser X really works as intended with my
> application. Any suggestion?

Yes:

http://selenium.thoughtworks.com/index.html

http://agiletesting.blogspot.com/2005/03/web-app-testing-with-python-part-2.html

http://products.actimind.com/actiWATE/


Unfortunately, there's still no free (as in speech) "macro recorder"
implemented as a browser plugin (nor even one implemented on the HTTP
level that can produce output in a form selenium understands, AFAIK).

For some other relevant links, see under "Misc Links" here (and for
that matter, the previous bullet point too):

http://wwwsearch.sourceforge.net/bits/GeneralFAQ.html


John

.



Relevant Pages

  • Re: scripting browsers from Python
    ... > to do POST requests too. ... > interested in checking that browser X really works as intended with my ... It's essentially a python commandline webbrowser suitable for testing ... in a script, and then run that script at your lesuire. ...
    (comp.lang.python)
  • Re: Linux still surfs slower than Windows
    ... That wouldn't explain why the Linux browser chokes on any given ... >>up with the same DNS configurations. ... > although it seems they do work properly with MS requests. ...
    (comp.os.linux.networking)
  • strange msg lines..
    ... No, they're not errors, they're just requests for your home page ... SetEnvIfNoCase Referer buy-vicodin-online\.us go_away ... various porn URLs as wannabe proxy requests, ... In your case, the browser identification, most likely bogus, is a common ...
    (freebsd-questions)
  • Re: IIS 6.0 NT Authorization problem, slow response
    ... they are part of an expected authentication handshake. ... not a problem with IIS but rather with something you did. ... errors are caused by your browser and not someone else? ... NT4 file security when client requests file. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Windows Update Version 5 Problem
    ... with its requests and what is being received. ... I suspect it is not your browser which is telling you that but the ... It's pretty simple to test this idea by comparing the User-Agent string ... Another site which you could use for comparing browser functionality is: ...
    (microsoft.public.windowsupdate)