click_no_wait won't work. Actually when clicking on the div, there
will be new operation(delete, open) links appear. If I used
click_no_wait, the new links won't appear.

Thanks!

On Jan 15, 8:32 pm, wesley chen <cjq....@gmail.com> wrote:
> What's the detail information about your div? When the div is clicked, what
> will happen?
>
> Thanks.
> Wesley Chen.
>
> On Fri, Jan 16, 2009 at 9:14 AM, Michael Hwee <michael_h...@yahoo.com>wrote:
>
>
>
> > Try click_no_wait()
>
> > ----- Original Message ----
> > From: "zeng0...@gmail.com" <zeng0...@gmail.com>
> > To: Watir General <watir-general@googlegroups.com>
> > Sent: Thursday, January 15, 2009 11:20:10 AM
> > Subject: [wtr-general] Code hangs after a div click
>
> > I have the following code:
>
> >    $browser.link(:text, "Media").click
> >    $browser.link(:text, "Content Manager").click
> >    Watir::Waiter.wait_until { $browser.text.include? "tag all items" }
> >       $browser.div(:class, "collection-container-scroller").table
> > (:index, 1)[1][1].div(:class,"collection-entry-title-thumb-
> > compact").click
> >        puts("after click the collection")
>
> > It did click the div, but seems after the click, the code hangs and
> > the next line never gets executed. I also tried irb, it's the same,
> > after click the div, the irb command line never comes back, I have to
> > use Ctrl-C to stop it. Does anyone have idea about this?
>
> > Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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