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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -