Well, now I'm using firefox 3.5, also I downloaded the jssh firefox plugin
and I ran the following test


require "watir"
url = "www.google.com"
ie = Watir::Browser.new
ie.goto url
ie.text_field(:name, "q").set "showmedo.com"
ie.button(:name, "btnG").click

but after that I'm getting the following error related to the jssh

>> require "watir"
=> true
>>
?> url = "www.google.com"
=> "www.google.com"
>>
?>  ie = Watir::Browser.new
RuntimeError: Firefox is running without -jssh
    from
/Library/Ruby/Gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:125:in
`initialize'
    from
/Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in
`new'
    from
/Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in
`new'
    from simple-search.rb:5
>>
?>  ie.goto url
NoMethodError: undefined method `goto' for nil:NilClass
    from simple-search.rb:7
>>
?> ie.text_field(:name, "q").set "showmedo.com"
NoMethodError: undefined method `text_field' for nil:NilClass
    from simple-search.rb:9
>>
?> ie.button(:name, "btnG").click
NoMethodError: undefined method `button' for nil:NilClass
    from simple-search.rb:11
>>

any ideas about it,

Thanks in advance


On Sat, Feb 6, 2010 at 1:52 AM, Alister Scott <[email protected]>wrote:

> Hi,
>
> You can use Firefox 3.5 until someone compiles the JSSH add-on for
> OSX.
> Alternatively you can take a look at SafariWatir:
> http://github.com/redsquirrel/safariwatir
>
> Cheers,
>
> Alister Scott
>
> --
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To post to this group, send email to [email protected]
> Before posting, please read the following guidelines:
> http://wiki.openqa.org/display/WTR/Support
> To unsubscribe from this group, send email to
> [email protected]<watir-general%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/watir-general
>

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

Reply via email to