View All Public Notes
text_from_all_my_visible_divs = br.div(:id, 'divs I care about').divs.select do |div| text_i_care_about(div) && div.visible? end def text_i_care_about(div) div.text =~ /regexp/ end #Watir #tips #code #references #good_to_know #pub