ruby on rails - Nokogiri parse ajax-loaded content -


is possible nokogiri parse content loaded via ajax? if not how accomplish this?

nokogiri can't see ajax content because isn't javascript parser, and, result, can't interpret , needed request.

what want watir, or 1 of spinoffs, depending on os. launch browser, can process javascript , resulting ajax request.

then, can request page's contents, , parsing of dom using nokogiri.

the process specific generic example, watir platform page point browsers supported. examples pretty easy figure out, should able piece nicely.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -