From: Paul Rogers Date: 2008-03-04T08:05:12+09:00 Subject: Re: Watir too slow On Mar 3, 9:56 am, mirth wrote: > hi guys, > > I'm using watir to get the result from a html table into an array like > >  $reportResult=frame.table(:id, "ReportTable").to_a.flatten > > But it takes forever to run if that table's huge. For example, if that > table has 533,863 cells so it will be 533,863 objects in that > $reportResult array. It will take over 20 minutes to run that line of > code. Sometimes, it will just give up and give exception. > > So my question is: Is there any better way to get result from the html > table that could run faster? Any suggestion is high appreciated! > > Thanks, > YY you could try hpricot - either by using net/http or by dumping the hml from IE to it Paul