Archive

Posts Tagged ‘collect’

the fucntion ie.collect in watir

November 10th, 2009 No comments

Just copy a coding found in the internet for future reference,

$ie.divs.collect {|div|
if div.class_name == “data”
puts div.text
end
}

Categories: watir Tags: