Forum: Ruby Watir Read javascript popups contents

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.
Aidan C. (Guest)
on 2007-06-26 19:15
am looking to evaluate the contents of a javascript popup using watir,

i have googled around heavily and found some code that people suggest
would work but nothing i have tried so far works, the only thing i have
found myself capable of doing is clicking the buttons. i dont want to
click the buttons i wish to read the contents to evalutate its contents
before closing it

can anyone suggest a good method for reading the contents or alerts or

im sure there has to be methods of doing this, if not through watir
maybe another ruby module that interfaces IE through com in the same
way, since evaluation could be done anyway suggested and then i can
close the popup using watir so i can continue onwards
This topic is locked and can not be replied to.