From: Kaspar Schiess Date: 2009-09-09T15:42:47+09:00 Subject: Re: execute javascript in Ruby > I use 'net/http' lib for get and parse html pages. But I also need to > execute some javascripts on pages from my ruby-scripts like on > web-browsers. Is it possible? May be there are special libraries... > Please advise. Have a look at watir[1] or even celerity[2] (on jruby). Those will let you pretend to be a browser, GET/POST pages and run javascript just as the real browser would. kaspar [1] http://wtr.rubyforge.org/index.html [2] http://celerity.rubyforge.org/doc/