screen scraping - Is there a way to identify bolded (<b></b>) with Celerity -
i'm using celerity screen scraping , have come across need identify text elements in bold. celerity offers strong method not offer bold method. has figured out clever way around celerity or other tool. tried using:
browser.html.gsub!(<b>,<strong>) browser.html.gsub!(</b>,</strong>)
i though replace bold elements strong elements , use celerity's strong method, didn't seem work.
thanks in advance help.
it seems strange b missing can try:
browser.elements_by_xpath('//b').each |b| puts "#{b} bold tag" end
Comments
Post a Comment