Hi

I updated version of Watir to 1.6.5 ... but it didnt work.

Basically my code is

require 'watir'
browser = Watir::IE.new # OPen new window
browser.goto("http://www.google.co.in/search?hl=en&source=hp&q=cyril";)
# Search in google 'Cyril'

val1 = browser.div(:id,"ires").li(:class,"g").text # get the text for
li tag

puts val1 # Print the text

please help

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to