Thanks for the tip. That worked, now the message opens up in preview pan. I am using el.fire_event("ondblclick") right after these statements to open the selected message in new window and nothing happens.
If i manually doubleclick the selected message it opens the window. Am I missing anything? On Oct 14, 5:21 am, juuser <[EMAIL PROTECTED]> wrote: > try: > > el = browser.div(:class, "DataList_entry > DataList_entry_stripe_1_email_new_msg") > > el.fire_event("onmousedown") > el.fire_event("onmouseup") > > I just solved today one of the similar problems like that after trying > "onclick" and some other events too. Those javascript events are pesky > if not written directly at the object's html. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---