On Fri, Jan 29, 2010 at 5:47 PM, QAguy <qablogm...@gmail.com> wrote:
> def start_browser
>  if WHICH_BROWSER == 'safari' then
>    require 'safariwatir'
>    requite 'watir'
>    @browser = Watir::Safari.new
>  else
>    require 'web-webdriver'
>    require 'firewatir'
>    require 'watir'
>    @browser = Watir::Browser.new(:WHICH_BROWSER)
>  end
> end

You did not get my point. :)

Why do you require several watir libraries at once? I am not surprised you
are getting error messages.

If you want to drive Safari, require _only_ safariwatir or watir-webdriver.
If you want to drive Firefox, require only watir, etc.

Let's try this another way:

- please start a new thread because this is not related to jssh any more
- let us know what are you trying to do.

What is web-webdriver?

Željko

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to