Using Firebug with Lebowski

8 views
Skip to first unread message

Luc Castera

unread,
Mar 8, 2011, 8:14:00 AM3/8/11
to lebow...@googlegroups.com
I've noticed that the Firefox instance that Lebowski opens when I launch a spec does not let me use firebug. It's as if firebug is not installed for firefox even though it is there when I open a browser via the regular way.

Anyone has any idea how to turn on Firebug while running my specs?

Thanks,

Luc

MikeC

unread,
Mar 9, 2011, 2:43:03 PM3/9/11
to lebowskifw
Hi Luc,

What you are observing is Selenium instantiating an instance of
Firefox using a basic profile. This is why firebug does not appear
since the profile used does not contain it. In order to resolve the
issue, you need to create a custom profile that contains firebug and
references it when starting up the Lebowski server. As an example, you
would start the server like so:

./lebowski-start-server -firefoxProfileTemplate "/path/to/firefox/
profile"

When running the lebowski server in Mac OS X, the Firefox profiles can
usually be found in the following:

/Users/<username>/Library/Application Support/Firefox/Profiles/

The profiles have names like 9qdkp664.default. To create and manage
Firefox profiles, see the following:

http://support.mozilla.com/en-US/kb/Managing%20profiles

-Mike

Luc Castera

unread,
Mar 9, 2011, 4:03:07 PM3/9/11
to lebow...@googlegroups.com
MikeC,

Thanks for this great answer.

Good Lebowski day today. I just finished writing a Lebowski integration suite that tests all of my app.

Thank you so much for both Lebowski and Ki. They've made my life much easier in the last month.

Luc
Reply all
Reply to author
Forward
0 new messages