3

Firefox runs, but when the tests finish executing Firefox stays up.

This is on Debian Linux with Firefox 3.6.

Sarel Botha
  • 12,083
  • 7
  • 52
  • 58

2 Answers2

3

The solution to this was to point Selenium at the firefox-bin file instead of the firefox file, which it may use by default if it's at /usr/bin/firefox.

This question explains how to specify a path to firefox-bin: How to explicitly specify a path to Firefox for Selenium?

Community
  • 1
  • 1
Sarel Botha
  • 12,083
  • 7
  • 52
  • 58
  • You should "Accept" you own question so that others can learn from it. – kazanaki Aug 20 '10 at 12:10
  • 1
    Thanks. It used to be that somebody has to up-vote your question before you can accept it. Either that changed or I have enough reputation to do it without the up-vote. – Sarel Botha Aug 30 '10 at 12:49
0

The same problem happened to me when using the screenshot taking functionality and selecting a non-existing folder to store the screenshots. As seen on this other scenario, PHPUnit's error handling is rather bad.

Community
  • 1
  • 1
GomoX
  • 889
  • 7
  • 20