okay. that's what i thought it'd be. Just wondering if there was a better 
solution. 

On Wednesday, August 15, 2012 8:01:52 PM UTC-7, Oscar.Rieken wrote:
>
> Sadly no that has not been added yet 
>
> I just do this
>
>       elsif ENV['BROWSER'] == 'firefox'
>         profile = Selenium::WebDriver::Firefox::Profile.new
>         profile.add_extension 
> File.expand_path("/tools/extensions/firebug-1.9.2.xpi", __FILE__)
>         profile.add_extension 
> File.expand_path("/tools/extensions/JSErrorCollector.xpi", __FILE__)
>         profile["extensions.firebug.currentVersion"] = "1.9.2"
>         driver = Selenium::WebDriver.for params[:browser].to_sym, :profile 
> => profile
>         Watir::Browser.new(driver)
>
> Until I get a chance to add it to taza
>
> On Wed, Aug 15, 2012 at 4:30 PM, hillary <[email protected] <javascript:>
> > wrote:
>
>> So i added the monkeypatch part of the taza_etsy_cucumber_tutorial to my 
>> taza browser class. The tutorial has an example of how to pass in chrome 
>> switches. However, I'm not sure how to create a profile and pass it to 
>> the create_watir_webdriver without hardcoding the profile into the browser 
>> class. Is there an example of how to configure the profile in the 
>> config.yml file? 
>>
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> [email protected] <javascript:>
>> http://groups.google.com/group/watir-general
>> [email protected] <javascript:>
>>
>
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to