On Tue, Dec 28, 2010 at 1:16 PM, V <[email protected]> wrote:
>  My HTML code is something like. I need to display the value of h3 in
> the DIV.
> <div class="name_address">
> <h3>
> Name
> </h3>
> </div>

Try this (not tested):

browser.div(:class => "name_address").h3(:index => 1).text

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
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]

Reply via email to