I solved this (for now) by creating a Firefox profile with profile manager, 
then pointing webdriver to that profile later.  Here are my settings in 
case they're useful for others:

>
> firebug = "/vagrant/browsers/firefox/extensions/current/firebug-1.9.2.xpi" 
> netExport = 
> "/vagrant/browsers/firefox/extensions/current/netExport-0.8.xpi"
>
> profile = 
> webdriver.FirefoxProfile(profile_directory="/vagrant/browsers/firefox/profile/")
> try:
> profile.add_extension(extension=firebug)
> profile.add_extension(extension=netExport)
> except Exception, e:
> print e
> # Firefox prefs
> profile.set_preference("app.update.enabled", False)  
> profile.native_events_enabled = True
> profile.set_preference("webdriver.log.file", "/some/desired/path/")
> # Set default Firebug preferences
> profile.set_preference("extensions.firebug.currentVersion", "1.9.2") #2.0
> profile.set_preference("extensions.firebug.allPagesActivation", "on")
> profile.set_preference("extensions.firebug.defaultPanelName", "net")
> profile.set_preference("extensions.firebug.net.enabledSites", True)
> profile.set_preference("extensions.firebug.consoleexport.active", False)
> # Set default NetExport preferences
> profile.set_preference("extensions.firebug.netexport.alwaysEnableAutoExport", 
> True) 
> profile.set_preference("extensions.firebug.netexport.defaultLogDir", 
> "/some/desired/path/")
> profile.update_preferences()



A new issue (not a blocker, phew!) is that with every netexport auto-export 
har file, I'm also getting a firebug related har, for example:

   - getfirebug.com+2012-09-24+11-41-10.har
   - www.google.com+2012-09-24+11-41-19.har
   

Is that a setting in the profile somewhere?  I thought setting "
extensions.firebug.consoleexport.active" to false would fix it but no luck.

Thanks always!
Telly


On Friday, September 21, 2012 3:08:33 PM UTC-7, Telly K. wrote:
>
> Hi Honza,
>
> Just so I'm clear, the "test driver" in your blog post would be what and 
> located where?
>
> Also, with the auto-export feature: I'm assuming file/directory permission 
> (755?) need to be set correctly on the destination path, right?
>
> Thanks!
> -Telly
>
> On Tuesday, September 18, 2012 6:57:45 AM UTC-7, Jan Honza Odvarko wrote:
>>
>> On Sep 17, 4:14 pm, "Telly K." <[email protected]> wrote: 
>> > Hi, 
>> > 
>> > You're blog post was how I got it initially working by translating it 
>> to python Selenium 2.25: http://pypi.python.org/pypi/selenium/ 
>> > 
>> > Then, Firefox updated to v15 and hasn't worked since. 
>> > 
>> > Do you know if your solution in the blog post works with Firefox 15? 
>> No, I haven't try it with Firefox 15 yet. 
>>
>> > I'm trying with v14 right now but will try v13 today. 
>> > 
>> > I've also tried without Firestarter but no luck. 
>> > 
>> > Lastly, the XPIs don't have to be in a specific location right? 
>> The scenario (described in the blog post) assumes that 
>> firebug-1.9.2.xpi 
>> and netExport-0.8.xpi are available in the same directory as the test 
>> driver. 
>>
>> Honza 
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to