Close enough. It seems like when you do Apple-R in TextMate, TextMate
doesn't capture stderr, only stdout. When I ran the script from IRB,
I got
irb(main):020:0> ff.link(:src, "/help/index.cgi?socialtext_documentation").click
FireWatir::Exception::UnknownObjectException: Unable to locate object,
using src and /help/index.cgi?socialtext_documentation
from
/usr/local/lib/ruby/gems/1.8/gems/firewatir-1.0.2/./MozillaBaseElement.rb:881:in
`assert_exists'
from
/usr/local/lib/ruby/gems/1.8/gems/firewatir-1.0.2/./MozillaBaseElement.rb:1027:in
`click'
from (irb):20
However, I was able to click the link and get the new page with
ff.link(:text, "Help").click
So that's FireWater 1, Selenium 0. :)
On 5/8/07, Chris McMahon <[EMAIL PROTECTED]> wrote:
> > I was able to click on the help link which opened in new window. Currently
> > you can connect to only new window not new tab. Make sure you have allowed
> > popups for that site. I got error that Firefox prevented from opening a pop
> > up from the site. When I allowed pop ups I was able to click on the link
> > which opened in new window.
>
> Strange. I have Preferences/Tabs set so that "New pages should be
> opened in a new window" and Preferences/Content set to not block
> popups, but the script runs without error from either FireWatir or
> Firefox.
>
> Thanks for checking, it must be something in my environment preventing
> that new window. I'll keep looking.
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general