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 _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users