Forum: Ruby How to handle windows pop ups

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Shweta (Guest)
on 2009-03-11 09:35
(Received via mailing list)
I have a button with name print Site Info after a click off this
button it opens another window with print dialog there i need to click
on print button.So i need to know how to handle such windows pop ups i
used the code something like this:   require 'win32ole'
wsh ='Wscript.Shell')
wsh.SendKeys('Windows{ENTER}'). but its not working
This topic is locked and can not be replied to.