IE8 popup

B

Bob Smyph

In IE7 I was able to use the following code to click onblur javascript
popups:
def handle_onblur_popup(ie, button, waitTime = 4)
#used to handle certain JavaScript popups
w = WinClicker.new
longName = ie.dir.gsub("/" , "\\" )
shortName = w.getShortFileName(longName)
w = nil
f = IO.popen("ruby #{shortName}\\clickJSDialog.rb #{button}
#{waitTime}")
end

but now in IE8 this is not working. I have noticed that the title on the
popup window in IE8 has changed from 'Windows Internet Explorer' to
'Message from web page' does anyone have any ideas as to what changes I
need to make to ruby to get the new IE8 to work.

Thanks,
-Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,149
Latest member
Vinay Kumar Nevatia0
Top