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
}
Just copy a coding found in the internet for future reference,
$ie.divs.collect {|div|
if div.class_name == “data”
puts div.text
end
}