Home > watir > the fucntion ie.collect in watir

the fucntion ie.collect in watir

November 10th, 2009 Leave a comment Go to 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:
  1. No comments yet.
      
                  
      

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word