From: Kga Agk Date: 2009-07-01T22:19:02+09:00 Subject: Re: Using selenium in a ruby program Ben Lovell wrote: > On Wed, Jul 1, 2009 at 12:43 PM, Kga Agk wrote: > >> require 'rubygems' >> require "selenium/client" >> :url => "http://www.google.com", >> @browser.type "q", "Selenium seleniumhq.org" >> -- >> Posted via http://www.ruby-forum.com/. >> >> > You might want to take a look at Webrat if you haven't already [0] You > can > fairly easily switch between a simulated browser (if you don't need to > test > javascript) or run in automated mode i.e. selenium. > > [0] http://gitrdoc.com/brynary/webrat/tree/master/ > > Rgds, > Ben I can take a look, but I have to test some sites using javascript. I have to test a bunch of server side programs, and the way to start them is to click on stuff that are generated by javascript (or somthing like that). -- Posted via http://www.ruby-forum.com/.