On 28/11/2008, al3kc <[EMAIL PROTECTED]> wrote:
>
>  Hi all,
>
>  Does click_no_wait method exists in firewatir? I didn't found it in
>  firewatir sorce files and it does not work in my tests.
>  I use firewatir - 1.2.1

Try something like this:

def click_no_wait(object_name)
    $jssh_socket.send("browser.contentWindow.setTimeout(function()
{document.forms[0].#{object_name}.click()},0);\n", 0)
    self.read_socket()
end

Aidy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to