def ie_popup_clicker(button_name = "OK", max_wait = 15)
      require 'watir/contrib/enabled_popup'
      require 'win32ole'
      hwnd = ie.enabled_popup(15)
      if (hwnd)  #yeah! a popup
        popup = WinClicker.new
        popup.makeWindowActive(hwnd) #Activate the window.
        popup.clickWindowsButton_hwnd(hwnd, button_name) #Click the button
        #popup.clickWindowsButton(/Internet/,button_name,30)
        popup = nil
      end
    end
def ie_popup_clicker(button_name = "OK", max_wait = 15)
      require 'watir/contrib/enabled_popup'
      require 'win32ole'
      hwnd = ie.enabled_popup(15)
      if (hwnd)  #yeah! a popup
        popup = WinClicker.new
        popup.makeWindowActive(hwnd) #Activate the window.
        popup.clickWindowsButton_hwnd(hwnd, button_name) #Click the button
        #popup.clickWindowsButton(/Internet/,button_name,30)
        popup = nil
      end
    end
This only works for IEs
   Cons:
     - Slow
     - only works in IE
     - does not work for security alert ?