[Wtr-general] How do I attach to a "mailto" window

marty forum-watir-users at openqa.org
Thu Jul 5 10:25:02 EDT 2007


In the HTML code I have a link with a href of mailto. When I click on it in Watir, it brings up a window for the email message. I would like to attach to that window just to verify that the link worked properly. How do I do this?

Html code:

<a href=mailto:'xxx at ncr.com'>xxx</a>

Watir code so far:

ie.link(:text, /xxx/).click
ie1=IE.attach(:url, /????/)  <--- Need HELP here


More information about the Wtr-general mailing list