On Fri, Dec 9, 2011 at 12:56 AM, Bhavesh <[email protected]> wrote:
> so to collect the id's, i go to source of that page and grab the id
> like :
>      $_ = $ie.html
>      if /<DIV class.*cell-inner.*id=(\S*)>.*dot.png.*#{fsname}/
>      printIDInfo("FS ID", $1)

Why aren't you using watir api?

Something like

browser.divs(how, what).collect {|div| div.id}

If you provide sample html, we could tell more.

If it is for speed, there are a few html parsers for ruby:

https://www.ruby-toolbox.com/categories/html_parsing


Željko
--
watir.com/book - author

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to