Michael Hwee wrote: > Correct, Bret. > That puzzles me the reason to use a new process to do the click_no_wait. > > Since click() is working, I suggest to use 'click!' as click_no_wait > alternate way for now. > >
The reason is complicated. The problem is that if the click triggers a modal dialog, then the call will block. This means that the method won't return until after the dialog has been dismissed. Because the call blocks, we make the call in a separate process. That process gets blocked, but we don't care about it any more. Using click! is a good idea. It might work in circumstances where the call won't be blocked. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
