Yep - I just got a new mockup for one of our upcoming sites that uses divs in the same way, and I used the div-click just like Zeljko shows when the index method doesn't seem to find them. However, if you're experimenting and driving around the website for a while using IRB, sometimes IRB seems to "quit" for me. I could specify divs that I knew existed and had previously clicked on, and they would not activate or give me an error - they'd just hang out instead. I exited IRB and started it right back up again, and they worked flawlessly. I'm not sure how common this is, but you might want to try it out. Thanks, Adam
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Željko Filipin Sent: Friday, March 16, 2007 5:49 AM To: [email protected] Subject: Re: [Wtr-general] Click on button which isn't a button This worked for me (watir 1.5.1.1158). ie.div(:text, "Register now").click -- ZeljkoFilipin.com
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
