views:

181

answers:

1

everytime i test my selenium test, the instant of firefox will popup and show page of selenium rc. It's ok and cool. But i have problem. For every test i also have to see a firefox's page pop up and shown selenium plugin have been add to firefox.

is there any way to configure selenium so it initiate firefox without a popup page cause after a hundred test, it start to irritate me ;D

A: 

I'm sure this is a duplicate of another SO question, as I feel like I've answered it before, but I can't find it. If I do subsequently find it then I will update my answer.

You need to set the extensions.lastAppVersion preference to match the version of Firefox that you're launching. Otherwise you will generally have an additional tab in Firefox and the Addons manager popup.

You may need to configure Selenium to use a custom Firefox profile in order to make this change.

Dave Hunt
i have use custom profile. and i assume extensions.lastappversion is firefox config(about:config) isn't it ?
justjoe
That's correct. Alternatively you can directly modify the `prefs.js` file in your custom profile directory.
Dave Hunt