From: Steve Klabnik Date: 2011-08-28T00:10:46+09:00 Subject: Re: Opinions on JS and DOM support --20cf3011d7fde7c65e04ab7e1033 Content-Type: text/plain; charset=ISO-8859-1 Check out htmlunit and zombie.js On Aug 27, 2011 8:22 AM, "Tasos Laskos" wrote: > Hi guys, > > I've been researching this one for a while and as soon as I start > putting something together I stumble across yet another lib so I wanted > to get any feedback you might have on the situation. > > I'm aiming for DOM and JS support via Ruby, I basically need to emulate > a browser. > > TheRubyRacer V8 has provided half the solution to my problem, JS > execution. > > However, I'm a bit stumped on the DOM part... > For the last day I've been playing with Taka and although it's a good > starting point it doesn't provide a lot of important stuff like timers, > events etc. > > Then I came across envjs which has V8 support (via TheRubyRacer). > Since envjs is written in JS I could get all the DOM info I need by > evaluating JS code in Ruby via TheRubyRacer but it seems a bit > cumbersome. > > If anyone has done something similar I'd really appreciate some hints > and pointers. > > Regards, > Tasos L. > > -- > Posted via http://www.ruby-forum.com/. > --20cf3011d7fde7c65e04ab7e1033--