Thanks, I make few changes and get it down. :)
Now, we can use click_no_wait, select_no_wait, set_no_wait.

module Watir
    class Element

        #select_no_wait - selects a drop-down element spawning a new
process.
        #this is needed to close potential pop-ups that select drop-down can
trigger.
        def set_no_wait
            assert_enabled
            highlight(:set)
            object = "#{self.class}.new(self, :unique_number,
#{self.unique_number})"
            @page_container.eval_in_spawned_process(object + ".set")
            highlight(:clear)
        end
    end
end

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