logo       

Re: automated testing with browsers: msg#00038

web.selenium.user

Subject: Re: automated testing with browsers

On Wed, 12 Oct 2005, Luke Closs wrote:
[...]
> Does anyone have any code that starts/stops browsers?
>
> I'd like to automate selenium testing by having a process start
> firefox (say), tell it to go to
> http://test-server/selenium/?auto=true, and then kill the browser when
> it's done.
>
> I'm interested in any code/tips to help doing this for firefox, opera,
> safari, and IE.

Python's webbrowser module and the recently-mooted "desktop" module
(search comp.lang.python for refs) will tell you how. But if you know you
want a particular browser, just start that browser with a URL argument.


John


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise