How to handle windows pop ups

S

Shweta

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 = WIN32OLE.new('Wscript.Shell')
wsh.SendKeys('Windows{ENTER}'). but its not working
 

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,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top