Probably overkill, since click_no_wait itself spawns a new thread...
Bret
LFIdnl wrote:
> Try to call your part of code in other thread:
>
> puts "before click"
> thread = Thread.new {
>ie.link(:text, /#{pattern}/).click_no_wait
> }
> puts "after click"
>
> On 12 янв, 11:31, mbaruah wrote:
I don't think that is true.
click_no_wait() does not wait for the popup.
Need more info on your issue.
From: wesley chen
To: watir-general@googlegroups.com
Sent: Monday, January 12, 2009 12:12:14 AM
Subject: [wtr-general] Re: watir click_no_wait hangs my
Try to call your part of code in other thread:
puts "before click"
thread = Thread.new {
ie.link(:text, /#{pattern}/).click_no_wait
}
puts "after click"
On 12 янв, 11:31, mbaruah wrote:
> Thanks Wesley, I got it now. No pop up and the call blocks!!.
>
> On Jan 12, 1:12 pm, "wesley chen" wro
Thanks Wesley, I got it now. No pop up and the call blocks!!.
On Jan 12, 1:12 pm, "wesley chen" wrote:
> If you write the code as above, you can never print out the text.The
> click_no_wait method is waiting for a pop up, if no pop up, it will wait all
> the time.
>
> Thanks.
> Wesley Chen.
>
>
If you write the code as above, you can never print out the text.The
click_no_wait method is waiting for a pop up, if no pop up, it will wait all
the time.
Thanks.
Wesley Chen.
On Mon, Jan 12, 2009 at 3:30 PM, mbaruah wrote:
>
> In my ruby(1.8.6)/watir code I am currently making use of
> "clic