How to get a text from HTML using Watir? How to get a text from HTML using Watir? selenium selenium

How to get a text from HTML using Watir?


Easy Peasy.

$browser.div(:id => "OrderDetails").table(:index => 0).rows[0].cells[1].text