On Fri, Oct 5, 2012 at 6:10 PM, Adrian Killens <[email protected]> wrote: > <h1 class="ThankYouForOrdering">Thank you for ordering: <span class="ReferenceNumber">OB6786</span></h1> > How would I get the OB6786 part of that into a string? So I could output it with my test results?
p browser.h1(:class => "ThankYouForOrdering").span(:class => "ReferenceNumber").text Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
