:( !
But now I ran into another issue :
undefined method `text' for #<Selenium::WebDriver::Driver:
0x..fb749fb58 browser=:firefox> (NoMethodError)
Could you give me a 'last' help ^_^?

On Aug 13, 10:24 pm, Chan Nguyen <atbl1...@gmail.com> wrote:
> Great thanks Ethan ;) !
>
> On Aug 13, 8:58 pm, Ethan <notet...@gmail.com> wrote:
>
> > contains_text is deprecated and omitted from watir-webdriver. 
> > seehttp://github.com/jarib/watir-webdriver/issues/closed#issue/7
>
> > On Fri, Aug 13, 2010 at 23:43, Chan Nguyen <atbl1...@gmail.com> wrote:
> > > Hi everyone,
> > > When I used watir with IE under Windows, everything worked fine. But
> > > when I tried with FF under Linux, the complier complained that :
>
> > > undefined method `contains_text' for #<Watir::Frame:0xb749c638>
> > > (NoMethodError)
>
> > > And my code snippet is :
> > > main_frame = browser.frame( :id, "Main_Body" )
> > > if main_frame.contains_text( "Weather" )
> > > puts "Passed"
>
> > > Is there any significant different between 'watir' and 'watir-
> > > webdriver'? And how can I work around this issue? Any idea?
>
> > > Thanks,
>
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search
> > > before you ask, be nice.
>
> > > You received this message because you are subscribed to
> > >http://groups.google.com/group/watir-general
> > > To post: watir-general@googlegroups.com
> > > To unsubscribe: 
> > > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to