--bcaec51b1ba7c629c3049fd9f42a Content-Type: text/plain; charset=UTF-8 On Fri, Apr 1, 2011 at 1:42 AM, Eric Christopherson < echristopherson / gmail.com> wrote: > > The only headless browser supporting JS I know about is HTMLUnit > > (written in Java). I remember having seen some libraries providing Ruby > > interfaces for it. > > Yeah, I looked a little at that. Apparently you can use it from within > Selenium and Capybara, and probably others. > > > If you don't need JS mechanize etc are alternatives. > > I just discovered I really don't need JS in this case, so I will try > mechanize. I'd still like to know the best route to go in the future > when I do need JS though. > There's a non-Ruby headless browser with JavaScript I recently discovered called PhantomJS: http://www.phantomjs.org/ --bcaec51b1ba7c629c3049fd9f42a--