On Mon, Jun 27, 2011 at 7:33 PM, Anne <[email protected]> wrote:
> I need to be able to get a count of the number of h2 headers on a
> page.

Using watir-webdriver gem, you can do this:

browser.h2s.size
# => 5

Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host

-- 
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