[SLUG] "Right" way to kill firefox from a script?

2008-07-31 Thread Amos Shapira
Hello, Platforms: Linux, OS X, Windows Firefox: 2 and 3 We have a test script which runx Firefox to visit a web site and after a few seconds it stops it. Right now we use "killall firefox" but this causes it to behave as if it crashed the next time it comes up. I found in http://tinyurl.com/5qk

Re: [SLUG] "Right" way to kill firefox from a script?

2008-07-31 Thread Martin Barry
$quoted_author = "Amos Shapira" ; > > We have a test script which runx Firefox to visit a web site and after > a few seconds it stops it. My first thought was "Why use a GUI app to test something automated?"... Surely there are more elegant ways to achieve what you need... cheers Marty -- SLUG

Re: [SLUG] "Right" way to kill firefox from a script?

2008-07-31 Thread Amos Shapira
2008/8/1 Martin Barry <[EMAIL PROTECTED]>: > $quoted_author = "Amos Shapira" ; >> >> We have a test script which runx Firefox to visit a web site and after >> a few seconds it stops it. > > My first thought was "Why use a GUI app to test something automated?"... Because it has to run all sorts of

Re: [SLUG] "Right" way to kill firefox from a script?

2008-07-31 Thread Martin Barry
$quoted_author = "Amos Shapira" ; > > Because it has to run all sorts of JavaScript, Flash, pull images etc. > and generally do what a browser does as part of the test. > We need a real browser (multiple browsers types and versions from > multiple platforms, actually) to access that web page, "wge

Re: [SLUG] "Right" way to kill firefox from a script?

2008-07-31 Thread Amos Shapira
2008/8/1 Martin Barry <[EMAIL PROTECTED]>: > Have you explored tools like Selenium? I heard a lot about it and even downloaded it but never had time to investigate it. Hopefully next week we'll have more resources to look into it. In the mean time, we have this crude script which *almost* does th

Re: [SLUG] "Right" way to kill firefox from a script?

2008-08-01 Thread Patrick Lesslie
On Fri, Aug 01, 2008 at 09:26:19AM +1000, Amos Shapira wrote: > Otherwise - can I change something in Firefox's configuration to cause > it to ignore crashes? If you put about:config in the URL, then filter on "crash", you'll find the setting browser.sessionstore.resume_from_crash which you can se