When trying Hpricot and Nokogiri, the HTML can be fetched and parsed, but can they also execute the Javascript as well so that the content shows on the page? (shows up in the the DOM). That's because some page won't show the info unless the JavaScript initialization code has run.
Asked
Active
Viewed 906 times
3 Answers
0
Have a look at Capybara. I haven't used it myself but I read about it the other day and it seems like it can execute javascript without using a browser.

einarmagnus
- 3,507
- 1
- 21
- 31